Donald Stufft
b825bbd4a2
Update urllib3 to 929f1586
2013-11-26 21:41:15 -05: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
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