Fix for the issue https://github.com/kennethreitz/requests/issues/1280

https://github.com/kennethreitz/requests/issues/1280