Skip to content

Conversation

faufab08
Copy link

Add a new method to add bytes as it was a file of specific content type. This is useful to send a gzipped data on multipart request without the use of temporary file

Add a new method to add bytes as it was a file of specific content type. This is useful to send a gzipped data on multipart request without the use of temporary file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for submitting a PR! Please fix up the white space. RestSharp uses tabs, not spaces. Also, this new line here is unnecessary.

@haacked
Copy link
Contributor

haacked commented Nov 13, 2013

Looks good. Just some minor commens.

@hallem
Copy link
Member

hallem commented Nov 7, 2014

This needs some work before it gets merged in. I'm not sure that the method name follows the pattern set in the class and I don't think we need to have a default value on the contentType parameter. It also needs unit tests.

@hallem
Copy link
Member

hallem commented Aug 4, 2015

manually merged this in with some modifications

@hallem hallem closed this Aug 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants