daftshady
aad828704d
Re-raise DecodeError
2013-12-19 18:02:56 +09:00
kennethreitz
0eb6dc36f0
Merge pull request #1808 from kennethreitz/fix-cookies-saved-on-redirect
...
Fixes #1805
2013-12-18 07:56:30 -08:00
kennethreitz
d88cd02fd8
Merge pull request #1810 from kennethreitz/swap-charade-for-chardet
...
Swap charade for chardet
2013-12-18 07:52:55 -08:00
Ian Cordasco
d8d9591076
Update the history and change the last last references to charade
2013-12-18 08:46:49 -06:00
Ian Cordasco
9379a14cb4
Fix all remaining references to charade
2013-12-18 08:43:18 -06:00
Ian Cordasco
0bfbacd8b1
Initial work towards replacing charade
2013-12-18 08:42:12 -06:00
Ian Cordasco
642bbf6060
Fixes #1805
...
Sure cookies are persisted to the session, but those new cookies are not added
to the next prepared request. We need to update that new request's CookieJar
with the new cookies.
2013-12-17 22:55:50 -06:00
Kenneth Reitz
1832e33753
Merge remote-tracking branch 'origin/master'
2013-12-16 13:19:36 -05:00
Kenneth Reitz
39d12818fe
8,000,000
2013-12-16 13:19:30 -05:00
Cory Benfield
0b680379e5
Merge pull request #1792 from Lukasa/oops
...
Fixup changelog with missing breaking change.
2013-12-12 08:21:38 -08:00
Cory Benfield
456c42b00d
Fixup changelog with missing breaking change.
2013-12-12 16:21:04 +00:00
kennethreitz
9fc0701247
Merge pull request #1772 from mdbecker/make_morsel_to_cookie_more_pythonic
...
Make morsel_to_cookie more pythonic
2013-12-06 07:38:12 -08:00
Michael Becker
837ba94dde
test_requests: convert tests to py.test style
2013-12-06 10:08:42 -05:00
Michael Becker
ea4570da57
cookies: Fix bugs found during CI
2013-12-06 09:02:45 -05:00
Michael Becker
ef5875cc19
cookies: Take a less cowardly approach
...
Per discussion with @sigmavirus24, we'll take the less cowardly approach here.
"the RFC defines the Expires header as a string with the format we're assigning to ``time_template`` so checking if it is a string is unnecessary."
Crossing my fingers that this doesn't break anyones existing code...
2013-12-06 09:02:45 -05:00
Michael Becker
6ac70450dc
AUTHORS: Take credit
2013-12-06 08:57:37 -05:00
Michael Becker
6140d08241
cookies: Replace type checks with try/except
2013-12-06 08:56:30 -05:00
Michael Becker
39841562c5
test_requests: Add tests for morsel_to_cookie
...
These tests will ensure my changes to how we handle 'expires' don't cause any regressions.
2013-12-06 08:56:30 -05:00
Kenneth Reitz
3235766d67
updated CA Bundle!
v2.1.0
2013-12-05 17:51:10 -05:00
Kenneth Reitz
57c4684035
Merge remote-tracking branch 'origin/master'
2013-12-05 17:45:05 -05:00
Kenneth Reitz
795f18560b
last changelog entry
2013-12-05 17:44:56 -05:00
Kenneth Reitz
aae7e39a56
further notes and version bump
2013-12-05 17:41:25 -05:00
kennethreitz
ba3dab5047
Merge pull request #1770 from kmadac/master
...
Implemetation of IP address ranges for no_proxy environment variable
2013-12-05 14:40:44 -08:00
Kenneth Reitz
f6107bc151
history notes about v2.1
2013-12-05 17:37:48 -05:00
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
Kamil Madac
1d42d9d274
function is_ipv4_network renamed
...
more detailed check of cidr format
2013-12-05 11:15:52 +01:00
Kamil Madac
f3bc8b6e1f
Typo fixed
2013-12-05 09:36:49 +01:00
Kamil Madac
21c88c829a
Broad exception fixed
2013-12-05 09:32:29 +01: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
Kamil Madac
59b29d02f8
Tiny comment fix
2013-12-04 15:11:10 +01:00
Kamil Madac
0d52ef7084
Additional tests added
2013-12-04 15:10:24 +01:00
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
Kamil Madac
947248129b
Better comments
2013-12-04 11:47:40 +01:00
Kamil Madac
0a4e65c0ed
Tests added
2013-12-04 10:54:36 +01:00
Kamil Madac
fe945345dd
Unnecessary files kmadac.xml deleted
2013-12-04 09:31:56 +01:00
Kamil Madac
dfd3e45ad0
Merge branch 'master' of https://github.com/kmadac/requests
2013-12-04 09:30:01 +01: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
Kamil Madac
6131390345
Revert "Small test added"
...
This reverts commit f0d3edf409 .
2013-12-03 16:41:07 +01:00
Kamil Madac
0eccd7a856
Merge remote-tracking branch 'origin/master'
...
Conflicts:
test_requests.py
2013-12-03 16:34:02 +01:00