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
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
2015-10-13 13:55:09 +01:00
Cory Benfield
14a555ac71
Merge pull request #2821 from Lukasa/issue/2818
...
Allow non-native-string method names.
2015-10-12 15:50:53 +01:00
Cory Benfield
2df3c7c75d
Move to_native_string for methods to prepare()
2015-10-12 10:50:37 +01:00
Cory Benfield
b071c49556
Failing test for issue #2818
2015-10-12 10:48:57 +01:00
Ian Cordasco
978a89d5a3
Merge pull request #2810 from Lukasa/certupdate
...
Update requests certificate bundle.
2015-10-08 11:12:09 -05:00
Ian Cordasco
931fd0eece
Merge pull request #2814 from Lukasa/issue/2813
...
Use general null check for JSON
2015-10-08 10:13:08 -05:00
Cory Benfield
3948a9562d
Use general null check for JSON
2015-10-08 14:53:35 +01:00
Ian Cordasco
2da8a604d3
Merge pull request #2812 from Lukasa/issue/2811
...
Don't treat NewConnectionErrors as timeouts.
2015-10-08 08:10:01 -05:00
Cory Benfield
f7be4e5f28
NewConnectionErrors aren't timeouts.
...
This is a compatibility change, and should be removed in 2.8.0
2015-10-08 14:05:17 +01:00
Cory Benfield
23051979f4
Update requests certificate bundle.
...
This brings it up-to-date with the certifi 2015.9.6.2 release,
specifically its `weak.pem` bundle.
2015-10-08 08:09:53 +01:00
Ian Cordasco
e499b354c4
Merge pull request #2804 from Lukasa/final-2.8.0
...
Final 2.8.0
2015-10-05 11:21:40 -05:00
Cory Benfield
ba7d09354a
Changelog for #2785 .
2015-10-05 15:57:05 +01:00
Ian Cordasco
96e9490100
Merge pull request #2803 from asieira/master
...
Update default user-agent (#2785 )
2015-10-05 09:54:17 -05:00
Cory Benfield
397f10bac7
Increment version numbers.
2015-10-05 15:41:04 +01:00
Cory Benfield
8dcd9f12de
Prepare changelog for 2.8.0
2015-10-05 15:38:31 +01:00
Cory Benfield
09bd3232dd
Update urllib3 to 1.12
2015-10-05 15:38:24 +01:00
Alexandre Sieira
4e44c2ab64
Removing change to .gitignore ( #2785 )
2015-10-05 11:36:21 -03:00
Cory Benfield
d996a95cf7
Merge pull request #2721 from Lukasa/no_proxy_fix
...
Ignore empty fields in no_proxy env var
2015-10-05 15:28:49 +01:00
Cory Benfield
f6afa71281
Merge pull request #2763 from ravipra/json_supersedes
...
Fixed issue #2756
2015-10-05 15:27:53 +01:00
Alexandre Sieira
2a635ba87d
Update default user-agent ( #2785 )
...
* Updated default user agent so that it includes only the requests
version;
* Added PyCharm / IDEA project directory to `.gitignore`.
2015-10-05 11:18:23 -03:00
Cory Benfield
8963e1567b
Merge pull request #2678 from sigmavirus24/proposed/2.8.0
...
Proposed 2.8.0
2015-10-05 15:09:41 +01:00
Cory Benfield
f7a43e2664
Merge branch 'hosamaly-master'
2015-10-03 18:33:38 +01:00
Cory Benfield
139418475c
Remove reference to ok.
2015-10-03 18:33:25 +01:00
Cory Benfield
a89d5c003a
Revert "Clarify the contract of Response#ok, and avoid exceptions in it"
...
This reverts commit 086e19d8e1 .
2015-10-03 18:32:28 +01:00
Hosam Aly
086e19d8e1
Clarify the contract of Response#ok, and avoid exceptions in it
2015-10-03 16:34:36 +01:00
Hosam Aly
443d07e0d3
Fix #2799 : Update Quickstart documentation of Response.json()
2015-10-03 00:01:58 +01:00
Cory Benfield
3c6f89b8f4
Merge pull request #2798 from Doctor-love/patch-1
...
Clarified description for option "trust_env"
2015-10-02 13:48:56 +01:00
Doctor-love
63b3b9be55
Clarified description for option "trust_env"
2015-10-02 14:47:50 +02:00
Cory Benfield
610fbd062f
Merge pull request #2797 from sumitbinnani/DocumentationCorrection
...
Updated Documentation for Issue #2756
2015-10-02 10:08:23 +01:00
sumitbinnani
bf38d5bf52
Update models.py
...
Updated Documentation:
```data``` as well as ```files``` supersedes json
2015-10-02 13:50:52 +05:30
Cory Benfield
aead8c347c
Merge pull request #2792 from Lukasa/update-test-dependencies
...
Update test dependencies
2015-10-01 10:27:25 +01:00
Cory Benfield
79675a0638
Update test dependencies
2015-10-01 10:26:14 +01:00
Cory Benfield
21bf8cd9bf
Merge pull request #2789 from sigmavirus24/remove-self
...
Remove offer to pair with others from README
2015-09-30 14:29:27 +01:00
Ian Cordasco
76a0d3fcb9
Remove offer to pair with others from README
2015-09-27 21:48:42 -05:00