Kenneth Reitz
d3b7f98814
hurray for passing tests
2012-02-25 22:44:46 -05:00
asciimoo
531dc35126
[enh] async.imap added -- generator object handling
2012-02-26 04:04:33 +01:00
Kenneth Reitz
ea1d5f3648
Fix content-length: 0
...
#454
2012-02-24 18:42:33 -05:00
Kenneth Reitz
e18e79d820
python3 fix
2012-02-24 00:44:01 -05:00
Kenneth Reitz
14f57f6585
Merge remote-tracking branch 'origin/develop' into develop
2012-02-23 22:21:16 -05:00
Honza Javorek
09c0365255
str is redefined in compat module, but was not imported
2012-02-23 23:51:59 +01:00
Honza Javorek
1661bf6543
get_unicode_from_response returned str instead of unicode
2012-02-23 17:28:56 +01:00
Cory Benfield
2ef0b1b51d
Accept '=' in cookie keys.
2012-02-21 22:51:38 +00:00
Ben
572c15d049
Don't bonk if .netrc isn't readable.
...
It's possible in some shared hosting environments that the .netrc file isn't readable by the user for the calling process. In that circumstance, just forgo the netrc authentication.
2012-02-21 15:53:33 -06:00
Kenneth Reitz
c9b4920230
v0.10.4
2012-02-20 16:21:25 -05:00
Kenneth Reitz
fd7610dd7a
python 3 unicode grr
2012-02-20 16:07:36 -05:00
Kenneth Reitz
b0e1865073
netrc fix
2012-02-20 15:43:45 -05:00
Kenneth Reitz
de0658f7e8
stick .netrc auth in pipeline
2012-02-20 15:43:38 -05:00
Kenneth Reitz
79bb9ee141
netrc parsing
2012-02-20 15:35:19 -05:00
Kenneth Reitz
2f33679cb3
spacing
2012-02-20 15:35:02 -05:00
Kenneth Reitz
6f5735274b
history for HEAD 3xx
2012-02-20 14:02:13 -05:00
Kenneth Reitz
709828204a
HEADs don't follow redirects by default.
2012-02-20 13:56:11 -05:00
Kenneth Reitz
709c8bdcbf
v0.10.3
2012-02-20 13:49:06 -05:00
Kenneth Reitz
2c55d269ce
allow 3XX in danger_mode
2012-02-20 13:46:54 -05:00
Kenneth Reitz
e0d1b09ffe
don't raise for redirects if they're not allowed
2012-02-20 13:40:55 -05:00
Kenneth Reitz
4f75f1f41d
Values can be none #433
2012-02-20 12:30:12 -05:00
Kenneth Reitz
fe10eeb5be
SCHEMAS
2012-02-20 12:25:53 -05:00
Kenneth Reitz
e7efce91fb
models cleanup
2012-02-20 12:21:01 -05:00
Kenneth Reitz
5f834715d0
Merge branch 'issue_380' of https://github.com/Lukasa/requests into develop
2012-02-20 12:11:31 -05:00
Shrikant Sharat
590ce29743
Implemented #439 . Added supporting test.
2012-02-19 15:11:19 +05:30
Cory Benfield
640538adcb
Fail if unsupported schemas are used.
...
requests only supports http and https. This change enforces that.
2012-02-16 20:20:20 +00:00
Kenneth Reitz
b5212ddc3d
remove bunk utils for decoding
2012-02-15 03:09:40 -05:00
Kenneth Reitz
dacaae520a
bytes data fix for python3
2012-02-15 03:09:26 -05:00
Kenneth Reitz
e663c77e70
fix bytes
2012-02-15 02:54:00 -05:00
Kenneth Reitz
ec109c9ac8
path fixes
2012-02-15 02:53:50 -05:00
Kenneth Reitz
00b13673e3
simplify
2012-02-15 02:28:58 -05:00
Kenneth Reitz
91ac5ba110
don't rely on urllib3's decode
2012-02-15 02:07:55 -05:00
Kenneth Reitz
ab4c03adc3
cleanups
2012-02-15 02:03:13 -05:00
Kenneth Reitz
75b0c4be1b
latin1, remove unicode_literals
...
Fixes #407
2012-02-15 02:01:36 -05:00
Kenneth Reitz
58bf158840
RuntimeError
2012-02-15 01:46:06 -05:00
Kenneth Reitz
1b6f1b091c
Merge branch '400-header_expand-unicode' of https://github.com/acdha/requests into develop
2012-02-15 01:25:29 -05:00
Kenneth Reitz
d39cdc45d1
decode response url again
2012-02-15 01:21:38 -05:00
Kenneth Reitz
5e76943f02
Merge branch 'develop' of https://github.com/Lukasa/requests into develop
2012-02-15 01:08:10 -05:00
Matt Giuca
b8298b0710
Rename utils.requote_path to requote_uri.
...
It is now applied to a whole URI, not just the path.
2012-02-15 12:03:08 +11:00
Matt Giuca
3bd5406c06
Now requotes the entire URL, not just the path (Issue #429 ).
2012-02-15 12:00:47 +11:00
Cory Benfield
80e29bfcab
Change the RFC we reference.
2012-02-14 14:11:25 +00:00
Cory Benfield
d7107c2cdc
Make clearer the source of forbidden characters
2012-02-14 12:58:35 +00:00
Cory Benfield
658da765ec
Keep non RFC cookie key characters separate.
...
Moved the characters that we accept in keys but that the RFC forbids
into a separate string to keep track of them.
2012-02-14 10:25:40 +00:00
Kenneth Reitz
9e2f5dd0ed
Merge branch 'py3-uri-encoding' of https://github.com/mgiuca/requests into develop
2012-02-14 04:30:10 -05:00
Matt Giuca
1ffce4f7dc
Simplify requote_path.
...
It no longer needs to split on '/' since '/' will not be encoded.
2012-02-14 12:57:49 +11:00
Matt Giuca
fcac1c3746
Fixed URI encoding of reserved characters (Issue #369 ).
...
Previously, util.requote_path would unquote and requote all characters,
causing reserved characters to become encoded (changing the semantics of the
URI). Now, it has special code for unquoting just the unreserved characters,
then quotes only illegal characters.
This ensures that illegal characters are fixed, and URIs are normalised, but
reserved characters do not erroneously become quoted.
Test case test_session_with_escaped_url now passes.
2012-02-14 12:51:03 +11:00
Matt Giuca
cf54f60367
Fixed URI re-encoding on Python 3 (Issue #369 ).
...
Request.full_url now performs requoting of the path (like it does in Python 2).
Request.path_url no longer quotes the already-quoted path (double quoting).
Fixed utils.requote_path so it works properly in Python 3.
2012-02-14 11:50:02 +11:00
Kenneth Reitz
5a2a78f7df
Merge pull request #425 from Lukasa/develop
...
Issue #335 : Accept unusual keys in cookies.
2012-02-13 16:14:39 -08:00
Cory Benfield
f72c13ffda
Accept unusual keys in cookies.
...
The Oreos module throws CookieErrors when it catches keys that have
characters that shouldn't be in them, like colons and braces. Other
services are happy to send out such keys, however. This commit makes
requests non-standards compliant, just like everyone else is.
2012-02-14 00:10:26 +00:00
Chris Adams
0a17badb21
header_expand: handle Unicode strings ( closes #400 )
2012-02-13 11:10:05 -05:00