Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treat a null content type as "" when uploading. #151

Merged
merged 1 commit into from
May 11, 2016

Conversation

jskeet
Copy link
Collaborator

@jskeet jskeet commented May 11, 2016

We need to manually coalesce this, as the resumable upload code requires a
content type to be specified, but allows it to be empty.

This also removes an overload of UploadObjectAsync which was unnecessary -
no doubt overlooked when we introduced optional parameters.

Fixes issue #117.

We need to manually coalesce this, as the resumable upload code requires a
content type to be specified, but allows it to be empty.

This also removes an overload of UploadObjectAsync which was unnecessary -
no doubt overlooked when we introduced optional parameters.

Fixes issue googleapis#117.
@chrisdunelm
Copy link
Contributor

LGTM

@jskeet jskeet merged commit 2d6c8d7 into googleapis:master May 11, 2016
@jskeet jskeet deleted the fix-upload branch May 11, 2016 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants