jssimporter / python-jss

python-jss is deprecated. Please see the wiki for alternatives.
GNU General Public License v3.0
102 stars 41 forks source link

Fix an incompatibilty with kennethreitz/requests v2.11.1 #55

Closed ftiff closed 8 years ago

ftiff commented 8 years ago

When uploading a package to JCDS, I had the following error: Header value 0 must be of type str or bytes, not <type 'int'>

This is due to kennethreitz/requests that now expect headers in string format. Tested only on JCDS but shouldn't cause issue elsewhere.

https://github.com/kennethreitz/requests/commit/2669ab797ce769ecedf5493b04cb976f33e37210

sheagcraig commented 8 years ago

Thank you sir. Looks like I need to get an updated release out.

sheagcraig commented 8 years ago

Looks great. Thanks for the PR on this!