cjstapleton
5f404a0592
Fix styling issues with add timeout to stream with testing
2014-02-28 19:06:59 -06:00
cjstapleton
930f03c864
Add timeout to stream with testing
...
Fixes Issue #1803
2014-02-28 10:08:57 -06:00
Cory Benfield
e909a92343
Merge pull request #1923 from Lukasa/master
...
The timeout is in seconds.
2014-02-16 19:02:05 +00:00
Cory Benfield
81e88b70bd
The timeout is in seconds.
2014-02-16 19:00:22 +00:00
kennethreitz
3c88e520da
Merge pull request #1918 from zackw/response-is-redirect
...
New Response property, .is_redirect.
2014-02-13 16:03:37 -05:00
Zack Weinberg
0caa243212
New Response property, .is_redirect.
2014-02-13 14:27:42 -05:00
kennethreitz
4ecd74693f
Merge pull request #1891 from sigmavirus24/add-requests-to-exceptions
...
Add request to RequestException
2014-02-11 11:58:23 -05:00
kennethreitz
94badad24c
Merge pull request #1897 from aliles/master
...
Document requirements for SNI support on Python2
2014-02-11 11:55:33 -05:00
kennethreitz
1371e81944
Merge pull request #1900 from mjpieters/issue1674-json-fallback-encoding
...
Reinstate falling back to self.text for JSON responses
2014-02-11 11:55:20 -05:00
Cory Benfield
969195ad55
Clarify our 1.2.1 behaviour change.
2014-02-11 07:31:47 +00:00
kennethreitz
a44910b837
Merge pull request #1902 from mjpieters/master
...
Remove unused loggers.
2014-02-06 18:32:41 -08:00
Cory Benfield
2b9b4a35b2
Merge pull request #1904 from mjpieters/doc-response-reason
...
Document the `Response.reason` attribute.
2014-02-05 18:32:16 +00:00
Martijn Pieters
3443c177a3
Document the Response.reason attribute.
...
Made `.status_code` and `.reason` consistent with one another, adding some examples. Addresses #1225 .
2014-02-05 17:29:09 +00:00
Aaron Iles
98b76f4b98
State early in SNI discussion Python2 limitation
...
Reference at the earliest opportunity that Server-Name-Indication is a
limitation of Python 2.6 and 2.7. Avoid describing it as a Requests
issue.
2014-02-04 21:08:11 +11:00
Cory Benfield
15ac4e5fb6
Merge pull request #1901 from mjpieters/chardet-not-charade
...
One last Charade reference to remove here.
2014-02-04 00:53:53 -08:00
Martijn Pieters
488b90f5ac
Remove unused loggers.
2014-02-03 13:43:59 +00:00
Martijn Pieters
c5b6a107eb
One last Charade reference to remove here.
2014-02-03 13:39:21 +00:00
Martijn Pieters
f35838beb6
Remove logging and charade mention.
...
Logging is Not Allowed, so out it goes.
2014-02-03 13:37:57 +00:00
Martijn Pieters
5ee8b348eb
Reinstate falling back to self.text for JSON responses
...
A JSON response that has no encoding specified will be decoded with a detected UTF codec (compliant with the JSON RFC), but if that fails, we guessed wrong and need to fall back to charade character detection (via `self.text`). Kenneth removed this functionality (by accident?) in 1451ba0c6d , this reinstates it again and adds a log warning.
Fixes #1674
2014-02-03 12:00:14 +00:00
Aaron Iles
8a0bae45c2
Move SNI documentation to FAQ
...
Relocate documentation on Server-Name-Indication from the advanced
section to the frequently asked questions. This is minus details on
enabling SNI on Python2, which is instead captured by linking to Stack
Overflow.
2014-02-02 22:19:10 +11:00
Aaron Iles
b5b8198fd1
Document requirements for SNI support on Python2
...
A section for Request's advanced usage guide on what Server Name
Indication is, its purpose, and how to enable it on Python2.
2014-02-02 20:14:05 +11:00
Kenneth Reitz
c6084704cc
what is wrong with you people? :)
2014-01-31 12:31:11 -05:00
Kenneth Reitz
2b23d6a9f7
omg never do this again ever please
2014-01-31 12:30:52 -05:00
Kenneth Reitz
c042c08179
who did this
2014-01-31 12:29:56 -05:00
Kenneth Reitz
f74f5e3ebf
cleanup shitty code
2014-01-31 12:27:05 -05:00
kennethreitz
f1893c8355
Merge pull request #1892 from Lukasa/netrcauth
...
Repopulate ~/.netrc auth.
2014-01-31 09:19:53 -08:00
Cory Benfield
d9f34c6848
Respect trust_env on redirect.
2014-01-31 07:36:44 +00:00
kennethreitz
4f12bfa636
Merge pull request #1893 from Lukasa/license
...
Avoid breaking crappy distribution methods.
2014-01-30 09:23:57 -08:00
Cory Benfield
326a22e888
Better layout for checking.
2014-01-30 15:11:24 +00:00
Cory Benfield
0163a836a1
Avoid breaking crappy distribution methods.
2014-01-29 19:21:04 +00:00
Cory Benfield
7ba5a534ae
Repopulate ~/.netrc auth.
2014-01-29 19:13:46 +00:00
Ian Cordasco
07e0a6198d
Explicitly check for None
2014-01-28 20:39:09 -06:00
Ian Cordasco
c2fab5b4ca
Avoid having to fix tests
2014-01-28 20:24:41 -06:00
Ian Cordasco
27eb54a20a
Move creation of attributes to RequestException
...
Pass request objects in HTTPAdapter
2014-01-28 20:13:57 -06:00
kennethreitz
b1c8fd3b67
Merge pull request #1888 from longaccess/handle301
...
Fix for 301 redirect and latest PyOpenSSL.
2014-01-28 12:14:38 -08:00
Konstantinos Koukopoulos
8b792be81b
on redirect pass URL as bytes. Fixes : #1887
2014-01-28 09:11:23 -08:00
Konstantinos Koukopoulos
b6e16799d0
test pyopenssl redirect (unit test for #1887 )
2014-01-28 09:08:16 -08:00
Cory Benfield
19756d57f7
Merge pull request #1886 from meteozond/patch-1
...
Added info about posted files headers
2014-01-28 01:07:23 -08:00
Alexander
1e3eb4ef9e
Added info about posted files headers
2014-01-28 12:03:59 +03:00
Ian Cordasco
42b8a6d8ab
Merge pull request #1881 from kevinburke/typo
...
s/soley/solely
2014-01-25 05:38:39 -08:00
Kevin Burke
4c11fb7f04
s/soley/solely
2014-01-25 00:20:10 -08:00
Kenneth Reitz
06ecae43bd
NOTICE update
2014-01-24 15:39:32 -05:00
kennethreitz
7773b2712e
Merge pull request #1870 from sigmavirus24/add-toolbelt-to-docs
...
Add a small note about requests-toolbelt
2014-01-23 10:54:08 -08:00
Kenneth Reitz
33735480f7
v2.2.1
v2.2.1
2014-01-23 13:25:40 -05:00
kennethreitz
a5b3719967
Merge pull request #1876 from dstufft/update-urllib3
...
Update urllib3 to 9346c5c
2014-01-23 10:22:21 -08:00
Donald Stufft
d181577f3e
Update urllib3 to 9346c5c
2014-01-22 14:20:34 -05:00
Cory Benfield
2a6b835a5e
Update changelog for 2.2.1.
2014-01-22 14:28:41 +00:00
Ian Cordasco
3bd16ce9c5
Add missing sled
...
Thanks @kevinburke
2014-01-21 19:55:00 -06:00
Cory Benfield
4872f4628c
Merge pull request #1874 from kevinburke/typo
...
Typo in History
2014-01-21 10:24:37 -08:00
Kevin Burke
f17ead4133
Typo in History
2014-01-21 10:18:04 -08:00