Commit Graph

1522 Commits

Author SHA1 Message Date
kennethreitz a030a58303 Merge pull request #1766 from Lukasa/qop
Quote qop values in digest auth.
2013-12-03 17:33:59 -08:00
kennethreitz 5c915451e7 Merge pull request #1657 from sigmavirus24/fix-session-hooks
Honor session hooks
2013-12-03 17:33:42 -08:00
kennethreitz 8b88549bb7 Merge pull request #1713 from daftshady/master
Fixed #1711
2013-12-03 17:33:33 -08:00
kennethreitz 3e66f08db7 Merge pull request #1775 from sigmavirus24/add-readme-to-packages
Add README to requests/packages
2013-12-03 17:02:25 -08:00
Ian Cordasco 617bc8cc1c Add README to requests/packages
- Hopefully people will read this before making changes to vendored libraries
2013-12-03 09:17:37 -06:00
Cory Benfield fecb35a08e Quote qop values in digest auth. 2013-11-29 08:37:25 +00:00
Donald Stufft b825bbd4a2 Update urllib3 to 929f1586 2013-11-26 21:41:15 -05:00
daftshady c26a6c310c remove unused import 2013-11-26 15:38:48 +09:00
daftshady 8eb40c777e remove unnecessary try 2013-11-26 15:28:59 +09:00
daftshady 8b2255d0f8 double try statement 2013-11-26 15:28:59 +09:00
daftshady 5fcaf45c33 update 'merge_cookies' not to create new instance. 2013-11-26 15:28:59 +09:00
daftshady 1adba3c9e9 modified 'merge_cookies' and update tests.
made sessions.py to use that method when merging cookies.
2013-11-26 15:28:59 +09:00
daftshady 30018e604c update 'merge_cookies' 2013-11-26 15:28:59 +09:00
daftshady e40c1637c9 added new method 'merge_cookies' and use it when merging session cookies with param cookies. 2013-11-26 15:28:59 +09:00
daftshady 2bbd7ba1c2 Fixed #1711 2013-11-26 15:22:46 +09:00
kennethreitz 340b245903 Merge pull request #1760 from akitada/fix-hangs-on-streaming-uploads
Fix hangs on streaming uploads with HTTPDigestAuth
2013-11-25 11:40:10 -08:00
Akira Kitada 3a9d9f2279 Fix hangs on streaming uploads with HTTPDigestAuth
When using Digest Authentication, the client resends the same request
after the server responds with the 401 "Unauthorized". However, when
doing streaming uploads, it gets stuck because the body data (a
file-like object) is already consumed at the initial request.

The patch fixes this by rewinding the file-like object before
resending the request.
2013-11-25 22:29:53 +09:00
Cory Benfield 3369d87da9 Cleanup the redirect if blocks. 2013-11-24 11:13:49 +00:00
Cory Benfield 470af31f4a Handle 301s 'properly'. 2013-11-24 11:09:00 +00:00
kennethreitz 3327652623 Merge pull request #1747 from daftshady/lowercase
#1746 don't lowercase the whole url
2013-11-20 01:05:15 -08:00
kennethreitz af921c7f51 Merge pull request #1733 from ionrock/pickleable-responses
Response and Request objects are pickleable.
2013-11-20 01:01:26 -08:00
daftshady 4972133a9b use geturl to lower scheme 2013-11-19 19:54:46 +09:00
daftshady 8c8938e8cb issue #1746 : Don't lowercase the whole URL! 2013-11-19 18:59:22 +09:00
nonm cfbbd15de7 Small fix broken cookie parse 2013-11-18 13:32:59 -08:00
Jayson Vantuyl b149be5d86 loosen URL handling for non-native URL schemes 2013-11-15 01:25:32 -08:00
Eric Larson 512beb8795 Response and Request objects are pickleable.
Includes a basic test. More could be add to confirm known attributes
that could cause problems.
2013-11-06 20:01:27 -06:00
kennethreitz a123f8351d Merge pull request #1660 from sigmavirus24/parse-cookies-when-users-set-host-header
Parse cookies when users set custom Host header
2013-11-06 11:19:31 -08:00
kennethreitz 7ccbcd28f0 Merge pull request #1724 from daftshady/dev3
Fixed #1723
2013-11-04 13:58:12 -08:00
Thomas Weißschuh 3ef4115349 upate urllib3 to a0c986a24d 2013-11-04 18:53:41 +00:00
daftshady 1511dfa637 moved logic to Session object and added test case 2013-11-04 22:32:17 +09:00
daftshady 495f87363b fixed #1723 2013-11-04 18:33:14 +09:00
Matthew Schinckel edf7e5f420 Fix documentation typo. 2013-11-04 12:29:24 +10:30
Cory Benfield 9ffcbb82a2 Capitalisation. 2013-11-01 11:14:05 +00:00
Cory Benfield 20f8027641 Chardet -> charade. 2013-11-01 09:20:22 +00:00
Kenneth Reitz 0228851f19 Revert "Merge pull request #1710 from jvantuyl/master"
This reverts commit a8300c0ae6, reversing
changes made to 2e196be143.
2013-10-30 15:32:19 -04:00
Jayson Vantuyl a9ec28a1b4 don't prepare URLs for oddball schemes 2013-10-30 10:04:43 -07:00
kennethreitz 2e196be143 Merge pull request #1709 from samuelhug/test-branch
Fix for AppEngine
2013-10-28 10:40:52 -07:00
kennethreitz 55ad38964b Merge pull request #1706 from daftshady/dev2
restoring pull request fixing #1623
2013-10-28 10:32:21 -07:00
Samuel Hug a501b0ca81 Fix for AppEngine 2013-10-28 09:51:56 -07:00
daftshady 6931bd6715 second commit : Fixed #1623. Added 'MD5-sess' algorithm to HTTPDigestAuth 2013-10-26 18:14:19 +09:00
kennethreitz 6e52b5fe41 Merge pull request #1689 from Lukasa/unicode
Use builtin_str for all auto-set header values.
2013-10-24 07:38:52 -07:00
kennethreitz 52fe3f790e Merge pull request #1693 from kevinburke/schema-message
Add clarification to MissingSchema error
2013-10-24 07:35:40 -07:00
Kenneth Reitz df272b7740 update internal dependencies 2013-10-24 10:31:05 -04:00
Kenneth Reitz 3d59569264 v2.0.1 2013-10-24 10:00:49 -04:00
Kenneth Reitz 1a9f0be6df Latest Mozilla Certs
generated via https://github.com/tiran/extract-nss-root-certs
2013-10-24 09:40:39 -04:00
kennethreitz d9ec7000db Merge pull request #1696 from canibanoglu/remove-parentheses
Removed extra extra parentheses in SessionRedirectMixin.resolve_redirects
2013-10-24 04:10:14 -07:00
Can Ibanoglu 76be17b00a Deleted the extra word in PreparedRequest.prepare's docstring 2013-10-23 00:15:41 +03:00
Can Ibanoglu 0cd6959f19 Removed extra extra parentheses in SessionRedirectMixin.resolve_redirects 2013-10-22 23:48:04 +03:00
Kevin Burke b5d2160ef8 use .format() 2013-10-20 10:17:54 -07:00
Kevin Burke 333ac101ba Add clarification to MissingSchema error 2013-10-20 00:46:41 -07:00