Commit Graph

1495 Commits

Author SHA1 Message Date
Jayson Vantuyl b149be5d86 loosen URL handling for non-native URL schemes 2013-11-15 01:25:32 -08: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
Cory Benfield 8a42d5fb41 Use builtin_str for all auto-set header values. 2013-10-18 18:34:29 +01:00
kennethreitz 65ec319f01 Merge pull request #1673 from daftshady/dev
fixed typo
2013-10-15 02:47:55 -07:00
daftshady 17dd3c0a76 fixed typo 2013-10-15 18:33:51 +09:00
Cory Benfield bea2060182 'or content' does us no good. 2013-10-12 21:05:34 +01:00
Ian Cordasco 6632fb87c0 Fix typo 2013-10-11 20:42:52 -05:00
Ian Cordasco df7aece2c8 Comment our reasonsing for the special cases 2013-10-10 20:43:18 -05:00
Matt Spitz 13a6e02ccd Increasing super_len compatibilty to include BytesIO and cStringIO objects.
Added a check for 'getvalue' attr, calling it to retrieve the length if we can.

We also try/except the fileno() call, which can throw
io.UnsupportedOperation for BytesIO because, well, they're not files.
2013-10-10 14:54:47 -04:00
Ian Cordasco 0bb8be0e5b Parse cookies when users set custom Host header 2013-10-07 21:43:21 -05:00
kennethreitz 43477edc91 Merge pull request #1636 from Lukasa/httpsprox
Don't send the full URL on CONNECT messages.
2013-10-07 16:23:18 -07:00
kennethreitz 318ca102cd Merge pull request #1635 from daftshady/dev
Fixed #1630 and added test case.
2013-10-07 16:22:49 -07:00
kennethreitz 14c12fb151 Merge pull request #1637 from Lukasa/redir
Correctly lowercase a redirect scheme.
2013-10-07 16:21:29 -07:00
kennethreitz 3246fc088a Merge pull request #1640 from abarnert/master
Accept per-file headers in multipart file POST messages.
2013-10-07 16:21:16 -07:00
Riyad Parvez 48f59aa1f7 back to BaseException 2013-10-05 22:49:54 +06:00
Riyad Parvez 56c82c52b0 fixed print statement 2013-10-05 20:12:18 +06:00
Riyad Parvez 5c92c72e2c removed deprecated while 1: 2013-10-05 09:59:47 +06:00
Riyad Parvez 8370e66464 fixed print statement 2013-10-05 09:56:11 +06:00
Riyad Parvez c8a68334a7 replaced deprecated BaseException 2013-10-05 09:53:34 +06:00
Graham Dumpleton 4291f76c99 Translate urllib3 ProxyError into a requests ProxyError derived from ConnectionError. 2013-10-04 16:07:11 +10:00
Andrew Barnert af4fb8cedc Accept per-file headers in multipart file POST messages.
- Each file in the `files` argument can now be a 4-tuple, instead of
  just a file, 2-tuple, or 3-tuple. If it is, the last value in the
  tuple is a dictionary of extra headers.
2013-09-30 17:07:13 -07:00
daftshady 012f0334ce added param to cookiejar_from_dict instead of creating new method. 2013-09-29 01:08:58 +09:00
Cory Benfield 0051837af4 Correctly lowercase a redirect scheme. 2013-09-28 17:01:32 +01:00
Cory Benfield 8b7fcfb49a Don't send the full URL on CONNECT messages. 2013-09-28 15:46:43 +01:00
daftshady d22eaf96e2 Fixed #1630 2013-09-28 23:44:27 +09:00
daftshady 373166d833 checkout auth 2013-09-28 16:41:08 +09:00
daftshady 39fe0068aa Fixed #1630, added test case for cookie persistence. 2013-09-28 16:33:05 +09:00