kennethreitz
1cac72bfa9
Merge pull request #1669 from Lukasa/chunked
...
[WIP] Better chunked handling.
2013-12-05 14:36:10 -08:00
kennethreitz
2dae61c0e3
Merge pull request #1776 from sigmavirus24/fix-1728
...
Fix 1728 (Fixed up from #1729 )
2013-12-05 14:26:58 -08:00
kennethreitz
e851efb29b
Merge pull request #1781 from Lukasa/ucliteral
...
Clean up #1779 .
2013-12-05 14:00:58 -08:00
Cory Benfield
57c138e59b
Remove the unicode literals.
2013-12-05 21:06:11 +00:00
kennethreitz
2c465de332
Merge pull request #1779 from kracekumar/patch-2
...
Made default_user_agent reusable
2013-12-05 11:44:06 -08:00
kracekumar
6c1be607f1
Made default_user_agent reusable
...
This is not exciting change, but will help for people who wants to change name of user agent alone. Also name can be unicode.
2013-12-05 12:11:35 +05:30
Ian Cordasco
e8bdcdb0a7
Address feedback from #1729
...
- Make the PreparedRequest's cookie jar an implementation detail
2013-12-04 06:45:18 -06:00
Chase Sterling
8bfe0d873f
Store the request cookiejar in PreparedRequest.cookies fix #1728
...
Conflicts:
requests/sessions.py
2013-12-04 06:38:58 -06:00
Chase Sterling
5b30e960eb
Add a test case for request cookies persisting to session. refs #1728
2013-12-04 06:35:16 -06:00
kennethreitz
4bceb312f1
Merge pull request #1768 from Lukasa/credpct
...
Unencode usernames and passwords taken from URLs.
2013-12-03 17:36:00 -08:00
kennethreitz
b2cee7bee8
Merge pull request #1764 from Lukasa/clog
...
Prepare new release (2.1.0)?
2013-12-03 17:35:02 -08:00
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
e2961b9f91
Unquote the URL before extracting the auth.
2013-12-01 10:29:14 +00:00
Cory Benfield
4f786e4f62
Tests for #1767 .
2013-12-01 10:29:10 +00:00
Cory Benfield
92d3616b02
Merge remote-tracking branch 'upstream/pr/1765' into qop
2013-11-29 16:44:13 +00:00
Cory Benfield
fecb35a08e
Quote qop values in digest auth.
2013-11-29 08:37:25 +00:00
佐藤 建太
649dac1029
quote qop options in Digest Auth
...
Based on RFC2617 (http://tools.ietf.org/html/rfc2617 ), the value of
'qop-options' directive should be quoted with double quotes:
qop-options
This directive is optional, but is made so only for backward
compatibility with RFC 2069 [6]; it SHOULD be used by all
implementations compliant with this version of the Digest
scheme. If present, it is a quoted string of one or more
tokens indicating the "quality of protection" values supported by
the server. The value "auth" indicates authentication; the
value "auth-int" indicates authentication with
integrity protection; see the
curl comamnd-line tool also appends these quotes. You can see this
by `curl -v --digest --user user:passwd http://example.com/digest-auth `.
Unfortunately, some minor server-side implementations seem to be sensitive
on this difference.
2013-11-29 15:28:47 +09:00
Cory Benfield
dc31c11339
Missed a couple.
2013-11-28 18:37:45 +00:00
Cory Benfield
e45d425343
Prepare changelog.
2013-11-28 18:32:28 +00:00
kennethreitz
847735553a
Merge pull request #1762 from dstufft/update-urllib3
...
Update urllib3 to 929f1586
2013-11-27 09:23:40 -08: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
e3c771f36b
added test case related to #1711
2013-11-26 15:22:46 +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
kennethreitz
e5b9ae1f8e
Merge pull request #1754 from Lukasa/verb_change
...
Match the HTTPbis on HTTP 301.
2013-11-25 11:40:00 -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
8a4c83022a
Merge pull request #1742 from kevinburke/docs
...
Add make target to build the documentation
2013-11-20 01:02:38 -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
kennethreitz
248c9ec53f
Merge pull request #1745 from nonm/master
...
Small fix broken cookie parse
2013-11-20 00:58:21 -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
Kevin Burke
0c88ae42e6
wording
2013-11-17 18:39:01 -08:00
Kevin Burke
4b69798796
Add target to build the documentation
2013-11-17 18:38:15 -08:00
kennethreitz
947375e982
Merge pull request #1739 from pengfei-xue/devel
...
add coverage make target
2013-11-15 10:51:47 -08:00
Pengfei Xue
afaed3343a
add coverage make target
2013-11-15 22:11:49 +08:00