ChristianTremblay / pyhaystack

Pyhaystack is a module that allow python programs to connect to a haystack server project-haystack.org. Connection can be established with Niagara Platform running the nhaystack, Skyspark and Widesky. For this to work with Anaconda IPython Notebook in Windows, be sure to use "python setup.py install" using the Anaconda Command Prompt in Windows. If not, module will be installed for System path python but won't work in the environment of Anaconda IPython Notebook. You will need hszinc 1.3+ for this to work.
Apache License 2.0
74 stars 32 forks source link

client.http.base: Send Content-Length as a string. #23

Closed sjlongland closed 8 years ago

sjlongland commented 8 years ago

requests tries to do a regex match or similar on the values of headers, and this requires the input to be a string. It barfs when you give it an int.

coveralls commented 8 years ago

Coverage Status

Coverage remained the same at 0.0% when pulling 9f605842f250590254b81d2dfa34678c898ebf1e on vrtsystems:bugfix/http-post-content-length into 4e2246a83b6b20d87695377c923ef62f20da0708 on ChristianTremblay:develop.