Fix for the issue https://github.com/kennethreitz/requests/issues/1280
Merge pull request #1281 from KamilSzot/Issue_kennethreitz_requests_issues_1280

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