Ian Cordasco
29ef108158
Use to_native_string instead of builtin_str
...
Fixes #2316
2014-10-31 21:20:04 -05:00
Ian Cordasco
091991be0d
Merge pull request #2306 from ssadler/fix-failing-test-test_prepare_unicode_url
...
Fix failing test test_prepare_unicode_url
2014-10-26 19:32:46 -05:00
Scott Sadler
583859b820
fix failing test "test_prepare_unicode_url" \(take 3\)
2014-10-26 14:45:12 +01:00
Scott Sadler
8e69c9f0a1
Revert "fix failing test "test_prepare_unicode_url""
...
This reverts commit 26ed7c2e1d .
2014-10-26 14:41:56 +01:00
Scott Sadler
26ed7c2e1d
fix failing test "test_prepare_unicode_url"
2014-10-26 12:49:46 +01:00
Scott Sadler
77687de509
Revert "fix failing test "test_prepare_unicode_url""
...
This reverts commit cfd6e25749 .
2014-10-26 12:40:05 +01:00
kennethreitz
be805f942e
Merge pull request #2295 from 2deviant/feature-custom-newline
...
Adding a custom line delimiter to iter_lines()
2014-10-25 14:33:52 -04:00
Scott Sadler
c044a70796
update AUTHORS
2014-10-25 16:52:02 +02:00
Scott Sadler
cfd6e25749
fix failing test "test_prepare_unicode_url"
2014-10-25 16:51:51 +02:00
Val Tenyotkin
3602690886
Changing parameter name newline ==> delimiter.
2014-10-24 16:37:35 -07:00
Val Tenyotkin
f5ff05be1e
Adding a custom line delimiter to iter_lines()
2014-10-21 18:03:11 -07:00
Cory Benfield
6b58a359e8
Merge pull request #2290 from syedsuhail/fix-2282
...
Fix #2279 . Update layout css
2014-10-19 10:42:28 +01:00
syedsuhail
96efb5ec96
Fix #2279 . Update layout css
2014-10-19 14:06:02 +05:30
Cory Benfield
e1e1855b85
Merge pull request #2289 from syedsuhail/fix-2288
...
Fix #2288 . Change urllib3 and chardet workflow
2014-10-19 08:56:36 +01:00
syedsuhail
3a6348dbb9
Fix #2288 . Change urllib3 and chardet workflow
2014-10-19 13:18:26 +05:30
kennethreitz
f7ecad843b
Merge pull request #2282 from morganthrapp/patch-1
...
Update sidebarintro.html
2014-10-14 11:22:48 -04:00
morganthrapp
4d498db3ed
Update sidebarintro.html
...
Fix issue #2279 . "Gittip" changed to "Gratipay". Tip button extended from 48px to 60px.
2014-10-14 10:56:05 -04:00
kennethreitz
c41eb27091
Merge pull request #2273 from sigmavirus24/add-changelog-to-sidebar
...
Add Release History to the sidebar
2014-10-12 10:55:34 -04:00
Ian Cordasco
2ac771b35e
Merge pull request #2271 from mikecool1000/fix-2250
...
Fixed #2250
2014-10-10 13:30:18 -05:00
Michael DeLay
8339b60fd5
Made more better
2014-10-10 09:58:30 -07:00
Ian Cordasco
589f2f6d6e
Add Release History to the sidebar
...
Closes #2269
2014-10-09 21:07:05 -05:00
mikecool1000
ce1ac88543
Fixed #2250
2014-10-09 12:22:18 -07:00
mikecool1000
4594667f07
Update utils.py
...
Fixed -2250
2014-10-08 19:26:07 -07:00
Kenneth Reitz
46d646064c
v2.4.3
v2.4.3
2014-10-06 05:44:25 -04:00
Kenneth Reitz
78d12bbbe9
v2.4.3
2014-10-06 05:42:55 -04:00
kennethreitz
6da438dabd
Merge pull request #2268 from sigmavirus24/fix-params
...
Re-order params for backwards compat
2014-10-06 05:40:03 -04:00
kennethreitz
4ec26da2f7
Merge pull request #2267 from minrk/unicode-url-py2
...
allow unicode URLs on Python 2
2014-10-06 05:39:54 -04:00
Ian Cordasco
0e4efab270
Re-order params for backwards compat
2014-10-05 18:55:59 -05:00
MinRK
ca2ebc5b68
allow unicode URLs on Python 2
...
on Python 2 u'é'.decode('utf8') fails with UnicodeEncodeError,
but only AttributeError is caught.
This only calls decode on known bytes objects.
2014-10-05 16:30:11 -07:00
kennethreitz
5850b1f53b
Merge pull request #2249 from t-8ch/fix_2247
...
fix #2247
2014-10-05 13:19:14 -04:00
Kenneth Reitz
779c001e44
requests v2.4.2
v2.4.2
2014-10-05 13:15:33 -04:00
Kenneth Reitz
79f56e2e7e
fix documentation for utils.get_unicode_from_response() :)
2014-10-05 13:14:38 -04:00
Kenneth Reitz
90dc467fc0
v2.4.2 changelog
2014-10-05 13:13:42 -04:00
kennethreitz
65cdccb70f
Merge pull request #2241 from tijko/master
...
raise RuntimeError when a single streamed request calls *iter methods th...
2014-10-05 12:48:40 -04:00
kennethreitz
1e79cf6a47
Merge pull request #2258 from willingc/add-json
...
Add json parameter
2014-10-05 12:46:09 -04:00
Cory Benfield
20ca9feeb3
Merge pull request #2265 from sigmavirus24/session-attrs
...
Remove timeout from __attrs__
2014-10-05 09:05:29 +01:00
Ian Cordasco
b1f3a2dd66
Remove timeout from __attrs__
...
We do not allow the user to set the timeout value on the Session any longer so
this is extraneous
2014-10-04 23:04:36 -05:00
kennethreitz
e74791d054
Merge pull request #2238 from buttscicles/byte-urls
...
Support bytestring URLs on Python 3.x
2014-10-02 12:20:05 -04:00
Ian Cordasco
8ed941fa69
Fix a couple of issues I noticed
...
- Don't _ prefix json in prepare_body
- Don't initialize json to []
- Don't initialize json to {}
- Reorder parameters to PreparedRequest.prepare
- Remove extra parentheses
- Update docstring
2014-09-30 16:03:31 -05:00
Joe Alcorn
a68d1b4517
Support bytestring URLs on Python 3.x
2014-09-30 19:29:10 +01:00
Thomas Weißschuh
cd5eb62961
remove unused import
2014-09-26 22:28:29 +00:00
Thomas Weißschuh
6e1db21733
fix #2247
...
We have to pass urllib3 the url without the authentication information,
else it will be parsed by httplib as a netloc and included in the request line
and Host header
2014-09-25 19:49:28 +00:00
Cory Benfield
a718a81d27
Merge pull request #2248 from jktjkt/docs-CAs
...
docs: Clarify how to pass a custom set of CAs
2014-09-25 19:28:05 +01:00
Jan Kundrát
3635b1501d
docs: Clarify how to pass a custom set of CAs
...
This new wording makes it hopefully easier to find how to override the
system-provided list of trusted CAs. I failed to find this through some googling
and had to resort to asking on IRC previously.
2014-09-25 20:06:04 +02:00
kennethreitz
de76fbeefb
Merge pull request #2244 from sigmavirus24/bug/2231
...
Avoid getting stuck in a loop
2014-09-24 22:57:38 -04:00
Cory Benfield
e0d88c2814
Merge pull request #2245 from sigmavirus24/doc-fix
...
Correct redirection introduction
2014-09-23 07:25:26 +01:00
Ian Cordasco
671ba85d41
Correct redirection introduction
...
The history attribute contains responses, not requests.
Thanks to Yang Yang for reporting this to me via email
2014-09-22 21:08:29 -05:00
Ian Cordasco
ac44b48297
Avoid getting stuck in a loop
...
This prevents a case where we make a request to URL A, which 301s to B which
would then 301 back to A. Alternatively, for less simple schemes, this will
also prevent us from getting stuck in a loop, e.g., it will prevent the
following from causing an endless loop:
A -> B -> C -> D -> E -> F --
^ \
| /
---<------------<----------<-
2014-09-22 21:01:36 -05:00
Tim Konick
64ba451049
make StreamConsumedError doubly inherit
2014-09-22 15:58:54 -04:00
Tim Konick
6e5f7bb9d3
using the StreamConsumedError
2014-09-22 15:51:59 -04:00