Kenneth Reitz
d806ffc1cd
test cleanups
2012-02-20 12:30:22 -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
cf37f63ccb
#435
2012-02-20 12:22:11 -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
Kenneth Reitz
dd89df314d
v0.10.3
2012-02-20 12:09:46 -05:00
Kenneth Reitz
fdbb53db19
__file__
2012-02-20 12:06:59 -05:00
Shrikant Sharat
590ce29743
Implemented #439 . Added supporting test.
2012-02-19 15:11:19 +05:30
Kenneth Reitz
7548bc7ccc
Update HISTORY.rst
2012-02-16 18:10:44 -05:00
Cory Benfield
544ebf402f
Correct unfortunate typo.
2012-02-16 20:42:05 +00:00
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
Cory Benfield
1ded0ad3d5
Remove a wayward change.
2012-02-16 19:32:20 +00:00
Cory Benfield
d339b0f64f
Added failing test for issue #380 .
2012-02-16 18:21:32 +00:00
Kenneth Reitz
8e2696b385
history
v0.10.2
2012-02-15 03:14:48 -05: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
0b9a2a1581
move tests over
2012-02-15 02:52:32 -05:00
Kenneth Reitz
2759060559
it's a start
2012-02-15 02:45:21 -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
0d8c08cd22
binary data upload bug test
2012-02-15 02:03:29 -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
4a8e6415c7
sp
2012-02-15 01:47:08 -05:00
Kenneth Reitz
58bf158840
RuntimeError
2012-02-15 01:46:06 -05:00
Kenneth Reitz
c0f066626e
whitespace
2012-02-15 01:42:57 -05:00
Kenneth Reitz
69c7a8638e
make all the tests
2012-02-15 01:42:52 -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
7f761f3adf
history for 0.10.2
2012-02-15 01:18:41 -05:00
Kenneth Reitz
5e76943f02
Merge branch 'develop' of https://github.com/Lukasa/requests into develop
2012-02-15 01:08:10 -05:00
Kenneth Reitz
b887ea3b60
Merge branch 'mgiuca-uri-cleanup-nonpath' into develop
2012-02-15 01:00:52 -05:00
Matt Giuca
690426ac86
Added Matt Giuca to AUTHORS.
2012-02-15 12:06:34 +11: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
Matt Giuca
3ae0ff3685
Added test cases for URI cleaning in the query part (Issue #429 ).
2012-02-15 12:00:27 +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
c0763bb8d5
Changed test case test_path_is_not_double_encoded.
...
Uses the space character instead of ~ as a test (since ~ is unreserved, it
shouldn't really be encoded at all).
2012-02-14 12:49:31 +11:00
Matt Giuca
75bd9d0e94
Added test case testing URI normalisation.
...
Tests that percent-encoded unreserved characters get de-encoded.
2012-02-14 12:20:48 +11:00
Matt Giuca
08bc1198d3
Added test case for Issue #369 .
...
Tests that legal reserved and unreserved characters in the path are not
percent-encoded. Currently fails.
2012-02-14 12:15:32 +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
Matt Giuca
329efcae6e
Added test case for quoted and illegal characters in the URL.
...
This is a test case for issue #369 .
It passes in Python 2, but fails in Python 3 (though the test suite doesn't
actually work in Python 3, it can be shown to fail with some modification).
2012-02-14 11:47:14 +11:00