mspagon opened a new pull request #1488:
URL: https://github.com/apache/libcloud/pull/1488


   
   
   ## Fixes an issue where HTTP requests cause HTTP 400 errors
   
   ### Description
   
   Removed a single line of code that was causing problems.
   
   HTTP requests with a body equal to an empty string `''` were incorrectly 
being chunked and ultimately leading to HTTP 400 errors (in certain providers).
   
   ### Status
   
   - done, ready for review
   
   ### Checklist (tick everything that applies)
   
   - [x] [Code 
linting](http://libcloud.readthedocs.org/en/latest/development.html#code-style-guide)
 (required, can be done after the PR checks)
   - [ ] Documentation
   - [x] [Tests](http://libcloud.readthedocs.org/en/latest/testing.html)
   - [ ] 
[ICLA](http://libcloud.readthedocs.org/en/latest/development.html#contributing-bigger-changes)
 (required for bigger changes)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to