Skip to content

Detect contentType in the storage REST handler - #35

Merged
dwsupplee merged 1 commit into
googleapis:masterfrom
jdpedrie:fix-content-type-detection
Apr 18, 2016
Merged

Detect contentType in the storage REST handler#35
dwsupplee merged 1 commit into
googleapis:masterfrom
jdpedrie:fix-content-type-detection

Conversation

@jdpedrie

Copy link
Copy Markdown
Contributor

Content Type detection was not working correctly when uploading from the tmp uploads folder. To fix it, we're trying to detect the content type in the Storage REST connection. If the content type cannot be determined, the object will upload as application/octet-stream.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Apr 17, 2016
@dwsupplee

Copy link
Copy Markdown
Contributor

Looks great! Thanks! :)

@dwsupplee
dwsupplee merged commit 2908676 into googleapis:master Apr 18, 2016
@jdpedrie
jdpedrie deleted the fix-content-type-detection branch April 18, 2016 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants