Cory Benfield
085a8768a2
Where did you get Requests?
2015-11-20 13:59:59 +00:00
Cory Benfield
e5d6630888
Add basic CONTRIBUTING.md file
2015-11-20 11:29:35 +00:00
Cory Benfield
6c47a0c5e9
Merge pull request #2891 from lorenzph/pyopenssl-min-version
...
Specify minimum pyOpenSSL version
2015-11-19 19:11:34 +00:00
Philip Lorenz
6597b53834
Specify minimum pyOpenSSL version
...
urllib3 requires "set_tlsext_host_name" which was only added in
pyOpenSSL 0.13. As some distributions (e.g. Ubuntu 12.04) still ship an
older version enforce the correct minimum version during installation.
2015-11-19 20:05:03 +01:00
Cory Benfield
2128321b85
Merge pull request #2878 from kiddick/master
...
Remove redundant json import.
2015-11-12 13:56:55 +00:00
unknown
de2a5f4332
Remove redundant json import.
2015-11-12 16:54:47 +03:00
Cory Benfield
6d0017ee6a
Merge pull request #2873 from sigmavirus24/bug/2872
...
Fix super_len for partially read files
2015-11-11 07:52:47 +00:00
Ian Cordasco
5397ef71b3
Fix super_len for partially read files
...
Closes #2872
2015-11-10 21:22:24 -06:00
Ian Cordasco
0a1aaca024
Add failing test for #2872
2015-11-10 21:15:29 -06:00
Cory Benfield
4e89ba7077
Merge pull request #2869 from vienno/unnest-cookie-loop
...
unnest deep loop
2015-11-10 13:21:01 +00:00
vienno
f835843f87
error in github bio link
2015-11-10 14:07:55 +01:00
vienno
cf9da5b52e
add myself to authors
2015-11-10 14:05:24 +01:00
vienno
d849d6e907
Replace 'if x' with 'if x is not None' in cookie loop
2015-11-10 13:58:09 +01:00
vienno
89178ebcdc
Complete unnesting of if statements in cookie loop
2015-11-10 13:47:40 +01:00
vienno
a25a641fb4
unnest deep loop
2015-11-10 12:36:36 +01:00
Ian Cordasco
35170e180e
Merge pull request #2858 from Lukasa/support_ca_cert_directories
...
Add support for a directory of CAs
2015-11-07 15:39:41 -06:00
Ian Cordasco
7d5d067e9c
Merge pull request #2861 from Lukasa/broken_chunked_encoding
...
Fix breakage introduced by 8f591682
2015-11-07 11:50:50 -06:00
Cory Benfield
c1c164ba80
Removed test of chunked encoding
2015-11-07 14:08:15 +00:00
Cory Benfield
02576ae7e7
Merge pull request #2864 from aartur/master
...
Assure session is closed on exception.
2015-11-06 21:02:30 +00:00
Artur Siekielski
1ced0040bd
Assure session is closed on exception.
2015-11-06 21:54:43 +01:00
Cory Benfield
e67cd15bc8
Fix breakage introduced by 8f591682
2015-11-05 18:54:40 +00:00
Ian Cordasco
f7e0494130
Merge pull request #2859 from kennethreitz/pytest-httpbin
...
Move test suite offline using pytest-httpbin
2015-11-05 09:37:22 -06:00
Cory Benfield
43b90d7f72
Remove remaining test that contacts external server.
2015-11-05 13:49:35 +00:00
Cory Benfield
7c91e27d01
Remove threaded test
2015-11-05 13:49:35 +00:00
Cory Benfield
15cf19431a
Pin httpbin version.
2015-11-05 13:49:35 +00:00
Cory Benfield
be564e500c
Fixup assertion broken in rewrite to py.test
...
Broke it in 0364a8ca7fc67b89f3e54d50fa3936d65e979b96
2015-11-05 13:49:35 +00:00
Cory Benfield
70d7b134c8
Stop being so specific when testing error strings.
2015-11-05 13:49:35 +00:00
Cory Benfield
a8fdba15b1
Use py.test style assertions
2015-11-05 13:49:35 +00:00
Cory Benfield
3bc189b0af
Inject and use httpbin fixture everywhere.
2015-11-05 13:49:35 +00:00
Cory Benfield
9b63f9cd37
Make sure we unapply this patch.
2015-11-05 13:48:42 +00:00
Cory Benfield
f52287d999
Stop using HTTP and HTTPS schemes in one test.
2015-11-05 13:48:42 +00:00
Cory Benfield
a56db9ecc4
Stop inheriting from unittest.TestCase
2015-11-05 13:48:42 +00:00
Cory Benfield
e5053cd322
Define some httpbin fixtures.
2015-11-05 13:48:42 +00:00
Cory Benfield
de53523bef
Add pytest-httpbin requirement.
2015-11-05 13:48:42 +00:00
Cory Benfield
0352ec0bd3
Add support for a directory of CAs
2015-11-05 13:21:21 +00:00
Cory Benfield
4dffe5efaa
Update trove classifiers.
2015-11-05 10:38:25 +00:00
Ian Cordasco
8f460faa31
Merge pull request #2849 from annp89/master
...
Add 511 Network Authentication Required status code
2015-10-26 10:58:01 -05:00
Ann Paul
7dd94941c8
Add 511 Network Authentication Required status code to dict of status codes
2015-10-26 08:42:37 -07:00
Ian Cordasco
d290a9b4c6
Merge pull request #2825 from Lukasa/universal_newlines
...
Add warnings about text/binary mode files.
2015-10-24 09:37:16 -05:00
Cory Benfield
f1fd11e54f
Emit warnings when using text mode files.
2015-10-24 09:29:23 +01:00
Cory Benfield
1dff6c9153
Merge pull request #2845 from gagoman/fix-2844
...
Fix issue #2844
2015-10-23 13:24:36 +01:00
Alex Khomchenko
edc68a0ac8
fix issue #2844
2015-10-23 15:22:36 +03:00
Cory Benfield
13ea7394cc
Merge pull request #2831 from shagunsodhani/proposed-fix-for-#2826
...
added fix for #2826
2015-10-16 13:21:45 +01:00
shagun Sodhani
b675377dc2
added fix for #2826
2015-10-16 17:01:36 +05:30
Cory Benfield
58b20d671c
Merge pull request #2829 from dblia/getresponse-buffering
...
Use buffering for HTTP responses on chunked requests
2015-10-15 15:37:06 +01:00
Dimitris Bliablias
8f591682e6
Use buffering for HTTP responses on chunked requests
...
For non-chunked requests, the request is performed using the 'urlopen'
method that underlying uses buffering for the HTTP responses (for Python
2.7+ versions). For chunked requests though, the request is made via a
different code path and so the 'getresponse' method is called without
using buffering. So, the response is consumed per single byte via a
recv() call on the underlying socket.
This patch, fixes that issue to mimic the non-chucked request behavior.
2015-10-15 16:58:07 +03:00
Cory Benfield
6c2d09dc2f
Merge pull request #2827 from daniel-mueller/master
...
Fixed usage example in sessions.py
2015-10-15 14:01:13 +01:00
Daniel Müller
d8f28f4bca
Fixed usage example in sessions.py
2015-10-15 14:32:35 +02:00
Cory Benfield
7c55446b7e
Add warnings about text/binary mode files.
2015-10-14 13:23:19 +01:00
Cory Benfield
18a6b60110
v2.8.1
v2.8.1
2015-10-13 13:55:09 +01:00