Allow for explicit file content type support #1091

Merged
merged 2 commits into from Jan 10, 2013

2 participants

@vinodc

urllib3 allows for explicit content types to be specified for file data: https://github.com/kennethreitz/requests/blob/master/requests/packages/urllib3/filepost.py#L70

This patch allows that functionality to be exposed. A test is included.

@kennethreitz kennethreitz reopened this Jan 10, 2013
@kennethreitz

Thanks!

@kennethreitz kennethreitz merged commit 6ec1a9c into kennethreitz:master Jan 10, 2013

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment