Commit Graph

1205 Commits

Author SHA1 Message Date
sprt 088f908d58 Add missing import 2013-01-23 15:45:14 +01:00
sprt c4ad8afba9 Merge remote-tracking branch 'upstream/master'
Conflicts:
	requests/sessions.py
2013-01-23 14:42:45 +01:00
Kenneth Reitz 0c09d16b29 Merge pull request #1125 from juanriaza/master
HTTPDigestAuth: missing algorithm field
2013-01-22 19:43:50 -08:00
Kenneth Reitz 30573b2d8b Merge pull request #1116 from Lukasa/master
Correct type of Content-Length headers.
2013-01-22 18:51:17 -08:00
Kenneth Reitz 1a87f15e6f Merge pull request #1117 from sigmavirus24/issue1106
Fix #1106
2013-01-22 18:48:31 -08:00
Kenneth Reitz 472a5b4748 Merge pull request #1127 from sigmavirus24/fix1126
A simple fix
2013-01-22 17:53:16 -08:00
Mantas Vidutis 6e53290acd update urllib3 to current master with ssl bugfixes 2013-01-22 14:40:10 -08:00
Ian Cordasco ca85b4ec6c Tests pass this time. 2013-01-22 17:22:12 -05:00
Juan Riaza a6360ca134 missing algorithm field 2013-01-22 16:35:16 +01:00
Kenneth Reitz 3bf46609c8 Merge pull request #1097 from matthewlmcclure/issues/1096
Resolves the parts of #1096 in requests proper.
2013-01-22 05:11:14 -08:00
Ian Cordasco 27e814ad76 Fix failing tests. 2013-01-21 20:21:08 -05:00
Cory Benfield 297aa04bea Decrease default line length for iter_lines 2013-01-21 21:15:04 +00:00
Ian Cordasco e1c4fe21d4 Fix #1106 2013-01-19 11:49:52 -05:00
Cory Benfield 89c8cbbe0c Ensure Content-Length is a string. 2013-01-19 12:07:34 +00:00
Kenneth Reitz 16ba63ccde Merge pull request #1114 from vlaci/master
Keep-alive support for http proxies
2013-01-18 05:40:26 -08:00
László Vaskó 347a52aa5c Fixed proxy requests to pool connections. 2013-01-18 13:41:14 +01:00
Shivaram Lingamneni 985a906c6c Remove support for certifi
As per #1105, certifi is being end-of-lifed. Requests will use either
its own vendored bundle, or possibly (when packaged with OS distributions)
an externally packaged bundle, which can be enabled by patching
requests.certs.where().
2013-01-17 20:44:01 -08:00
Shivaram Lingamneni b66427eab9 remove the TURKTRUST root certificates, as per #1102 2013-01-17 02:02:49 -08:00
sprt a721d590b4 Make hooks work with prepared requests 2013-01-12 21:46:44 +01:00
Matt McClure 628e393b9a Resolves the parts of #1096 in requests proper. 2013-01-11 15:04:47 -05:00
Kenneth Reitz 1a7c91f658 Merge remote-tracking branch 'origin/master' 2013-01-10 02:13:06 -05:00
Kenneth Reitz 41687c8fa8 v1.1.0 and docs 2013-01-10 02:13:02 -05:00
Kenneth Reitz 91f6e69cc4 Merge pull request #1092 from jianlius/case-insensitive-update
Make merge_kwargs case-insensitive when looking up keys.
2013-01-09 23:07:45 -08:00
Kenneth Reitz 9d33629b6d don't supply params for directs
Closes #1070
2013-01-10 01:58:46 -05:00
Kenneth Reitz ef8563ab36 CHUNKED REQUESTS! 2013-01-10 01:58:29 -05:00
Jian Li a392a87389 Retrieve kwargs.keys() just once. 2013-01-09 22:07:38 -08:00
Jian Li 68edcd12b1 Make merge_kwargs case-insensitive when looking up keys. 2013-01-09 21:29:24 -08:00
Vinod Chandru 20b10aed1b Allow for third argument in file dict value to support explicit
file content type.
2013-01-09 19:29:28 -08:00
Ian Cordasco 5264c71d86 Fix #1079
Restore the functionality from here:
https://github.com/kennethreitz/requests/blob/v0.14.2/requests/models.py#L884
2013-01-02 14:25:33 -05:00
Cory Benfield 054e1ab3ee Remove silly print statement. 2012-12-28 15:38:04 +00:00
Cory Benfield 641f4611b2 Make sure proxies have their scheme attached. 2012-12-27 13:37:36 +00:00
Cory Benfield d675abbd3f Remove unneeded import. 2012-12-27 11:22:36 +00:00
Cory Benfield 702f4039bc Use full URL when contacting proxies.
Requests should use the full URL, not the path URL, when forwarding
traffic through proxies.
2012-12-27 11:22:36 +00:00
Cory Benfield b479a62ec2 PreparedRequests don't carry proxy information.
The proxy info appears to be carried on the session. The only remnants
of proxy handling are this line in __init__().
2012-12-27 11:22:36 +00:00
Shivaram Lingamneni bbea679ab2 clean up code support for OS certificate bundles 2012-12-23 02:40:18 -08:00
Kenneth Reitz f0fe551dc9 thanks, @sigmavirus24 2012-12-23 01:45:49 -05:00
Kenneth Reitz f8e2d0e732 api docs 2012-12-23 01:44:54 -05:00
Kenneth Reitz fcccc82282 Merge remote-tracking branch 'origin/master' 2012-12-23 01:40:12 -05:00
Kenneth Reitz 3ddcc99131 docs update 2012-12-23 01:40:07 -05:00
Kenneth Reitz 70faca2a14 docs, cleanup for preparedrequest 2012-12-23 01:25:01 -05:00
Kenneth Reitz 5f9fecd3aa prepared request docs 2012-12-23 01:21:02 -05:00
Kenneth Reitz 6e780fad6d remove unused timeout 2012-12-23 01:16:00 -05:00
Kenneth Reitz 28b706da83 v1.0.4 2012-12-23 01:15:14 -05:00
Kenneth Reitz f8a59c3e6f request docstrings 2012-12-23 01:14:22 -05:00
Kenneth Reitz 484916066a Merge pull request #1064 from rascalking/master
fix POST redirects
2012-12-22 22:06:12 -08:00
David Bonner 7d085b188c fix POST redirects
the redirect handling logic compares then method to upper-case strings,
so make sure the method gets upper-cased as well.

add a test to POST to /status/302 on httpbin, which fails against httpbin.org
right now.  i'm submitting a pull request over there to fix that right after
this one.  once that's accepted, the new test verifies that the fix works.
2012-12-23 00:51:26 -05:00
Kenneth Reitz b8affd9520 Merge pull request #1049 from Lukasa/master
Correctly identify certificate filenames.
2012-12-22 03:05:50 -08:00
michaelwheeler 0b42772663 Fixed typo in comment. 2012-12-20 15:38:04 -05:00
Hans Lellelid bfef8d99c8 Updated API docs for 'data' param in sessions module to indicate that file-like object is also supported. 2012-12-20 09:47:29 -05:00
Hans Lellelid dd271782e8 Tweaked the 'data' param docs to indicate that a file-like object is also supported. 2012-12-20 09:45:06 -05:00