Kenneth Reitz [Sun, 14 Apr 2013 03:25:47 +0000 (20:25 -0700)]
Merge pull request #1302 from ssbarnea/master
Documents the actual logging methods #1297
Kenneth Reitz [Sat, 13 Apr 2013 19:26:49 +0000 (15:26 -0400)]
switch streaming requests to httpbin
Kenneth Reitz [Sat, 13 Apr 2013 19:24:21 +0000 (12:24 -0700)]
Merge pull request #1305 from michaelhelmick/patch-1
Fix Advanced docs Twitter Streaming example
Kenneth Reitz [Sat, 13 Apr 2013 19:05:13 +0000 (12:05 -0700)]
Merge pull request #1309 from toastdriven/better-max-retries
Changed HTTPAdapter to allow max retries to be specified when initializing.
Kenneth Reitz [Sat, 13 Apr 2013 19:02:29 +0000 (12:02 -0700)]
Merge pull request #1311 from sigmavirus24/fix1303
Change the method when it isn't already GET/HEAD
Ian Cordasco [Sat, 13 Apr 2013 16:30:05 +0000 (12:30 -0400)]
Change the method when it isn't already GET/HEAD
For some reason it was only change the method when a POST was being made. This
is almost certainly my fault.
Fixes #1303
Daniel Lindsley [Fri, 12 Apr 2013 23:40:39 +0000 (16:40 -0700)]
Changed HTTPAdapter to allow max retries to be specified when initializing.
Mike Helmick [Thu, 11 Apr 2013 03:49:27 +0000 (00:49 -0300)]
Fix Advanced docs Twitter Streaming example
Twitter API v1.1 Streaming now requires OAuth Authentication rather than XAuth.
I believe v1 is being blacked out sometime at the beginning of May.
Kenneth Reitz [Thu, 11 Apr 2013 16:04:07 +0000 (09:04 -0700)]
Merge pull request #1306 from pombredanne/patch-1
Updated NOTICE copyright from 2022 to 2012
pombredanne [Thu, 11 Apr 2013 14:08:27 +0000 (17:08 +0300)]
Updated NOTICE copyright from 2022 to 2012
Which is likely what you meant, eh?
Sorin Sbarnea [Wed, 10 Apr 2013 15:46:05 +0000 (16:46 +0100)]
Updated documentation indicating that logging is done via requests.packages.urllib3 instead of requests.
modified: docs/api.rst
Sorin Sbarnea [Wed, 10 Apr 2013 15:15:28 +0000 (16:15 +0100)]
* Documented the logging, requested in #1297
* Added build directory and *.egg to .gitignore
* Added sphinx as setup requirement in order to be able to build documentation with `pyhton setup.py build_sphinx`
modified: .gitignore
modified: docs/api.rst
modified: setup.py
Kenneth Reitz [Tue, 9 Apr 2013 20:17:19 +0000 (13:17 -0700)]
Merge pull request #1298 from Lukasa/adapter_doc
Transport Adapter Docs
Cory Benfield [Tue, 9 Apr 2013 19:58:59 +0000 (20:58 +0100)]
Shell of Transport Adapter documentation.
Cory Benfield [Tue, 9 Apr 2013 18:54:47 +0000 (19:54 +0100)]
Add HTTPAdapter to API docs.
Kenneth Reitz [Mon, 8 Apr 2013 18:01:36 +0000 (11:01 -0700)]
Merge pull request #1296 from sursh/master
Add helpful error message to r.json() method
Sasha Laundy [Mon, 8 Apr 2013 17:03:13 +0000 (13:03 -0400)]
Make json error message more specific
sursh [Mon, 8 Apr 2013 16:01:02 +0000 (13:01 -0300)]
Fix markdown
sursh [Mon, 8 Apr 2013 16:00:27 +0000 (13:00 -0300)]
Make json error on empty response more specific
Kenneth Reitz [Sun, 7 Apr 2013 00:27:23 +0000 (17:27 -0700)]
Merge pull request #1295 from sigmavirus24/issue1293
Fix #1293
Ian Cordasco [Sat, 6 Apr 2013 15:26:52 +0000 (11:26 -0400)]
Fix #1293
Kenneth Reitz [Fri, 5 Apr 2013 03:41:52 +0000 (20:41 -0700)]
Merge pull request #1291 from gazpachoking/dont_set_session_cookies_on_response
Don't set all session cookies on response.cookies
Chase Sterling [Fri, 5 Apr 2013 03:29:02 +0000 (23:29 -0400)]
Don't set all session cookies on response.cookies
Kenneth Reitz [Fri, 5 Apr 2013 03:22:38 +0000 (20:22 -0700)]
Merge pull request #1290 from gazpachoking/#1287
fix #1287: Make sure expired cookies get removed from session.cookies
Chase Sterling [Fri, 5 Apr 2013 02:48:14 +0000 (22:48 -0400)]
Make sure unit test works on python 2.6
Chase Sterling [Fri, 5 Apr 2013 02:40:27 +0000 (22:40 -0400)]
Add a unit test for server expiring cookies from session
Chase Sterling [Fri, 5 Apr 2013 02:11:38 +0000 (22:11 -0400)]
fix #1287: Make sure expired cookies get removed from session.cookies
Kenneth Reitz [Thu, 4 Apr 2013 01:04:40 +0000 (18:04 -0700)]
Merge pull request #1283 from sigmavirus24/master
Closes #1280
Ian Cordasco [Tue, 2 Apr 2013 14:07:37 +0000 (10:07 -0400)]
Add PreparedRequest recipe to the docs
Ian Cordasco [Tue, 2 Apr 2013 13:27:25 +0000 (09:27 -0400)]
Closes #1280
Correct the doc-string for Session#request that I copied without thinking
about.
Kenneth Reitz [Tue, 2 Apr 2013 12:13:46 +0000 (08:13 -0400)]
Revert "Fix for the issue https://github.com/kennethreitz/requests/issues/1280"
This reverts commit
ca0aea640d0cce01c126220b74362c9014cabbd6.
Kenneth Reitz [Tue, 2 Apr 2013 11:44:59 +0000 (04:44 -0700)]
Merge pull request #1281 from KamilSzot/Issue_kennethreitz_requests_issues_1280
Fix for the issue https://github.com/kennethreitz/requests/issues/1280
Kamil Szot [Tue, 2 Apr 2013 11:42:40 +0000 (13:42 +0200)]
Fix for the issue https://github.com/kennethreitz/requests/issues/1280
Kenneth Reitz [Tue, 2 Apr 2013 04:36:49 +0000 (21:36 -0700)]
Merge pull request #1278 from t-8ch/patch-1
fix tiny typo in HISTORY.rst
Kenneth Reitz [Tue, 2 Apr 2013 04:36:39 +0000 (21:36 -0700)]
Merge pull request #1277 from pborreli/typos
Fixed typos
Kenneth Reitz [Tue, 2 Apr 2013 03:42:22 +0000 (20:42 -0700)]
Merge pull request #1276 from alex/patch-1
is should not be used for comparing numbers
Thomas Weißschuh [Mon, 1 Apr 2013 18:47:20 +0000 (18:47 +0000)]
fix tiny typo in HISTORY.rst
Pascal Borreli [Mon, 1 Apr 2013 15:02:37 +0000 (15:02 +0000)]
Fixed typos
Alex Gaynor [Mon, 1 Apr 2013 06:20:46 +0000 (23:20 -0700)]
is should not be used for comparing numbers
Kenneth Reitz [Sun, 31 Mar 2013 05:28:57 +0000 (08:28 +0300)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Sun, 31 Mar 2013 05:28:22 +0000 (08:28 +0300)]
v1.2.0
Kenneth Reitz [Sun, 31 Mar 2013 05:27:59 +0000 (22:27 -0700)]
Merge pull request #1268 from t-8ch/update_urllib3
update vendored urllib3
Kenneth Reitz [Sun, 31 Mar 2013 05:22:44 +0000 (08:22 +0300)]
fix syntax error
Kenneth Reitz [Sun, 31 Mar 2013 05:21:52 +0000 (22:21 -0700)]
Merge pull request #1267 from sigmavirus24/master
One last pull request before 1.2 ideally
Kenneth Reitz [Sun, 31 Mar 2013 05:20:02 +0000 (22:20 -0700)]
Merge pull request #1270 from makto/add_attr
add 'max_redirects' to Session's __attrs__
Ian Cordasco [Sat, 30 Mar 2013 00:18:58 +0000 (20:18 -0400)]
Use session defaults instead of arbitrary ones
makto [Fri, 29 Mar 2013 12:58:15 +0000 (20:58 +0800)]
add 'max_redirects' to Session's __attrs__ to ensure proper serialization of Session
Thomas Weißschuh [Thu, 28 Mar 2013 12:48:50 +0000 (12:48 +0000)]
update vendored urllib3
Ian Cordasco [Thu, 28 Mar 2013 12:33:34 +0000 (08:33 -0400)]
Fix the tests and unseparate comments from code
See the comments on the previous few commits on GitHub.
Ian Cordasco [Thu, 28 Mar 2013 03:46:21 +0000 (23:46 -0400)]
Restore Session.request docstring
Resolves #1251
Ian Cordasco [Thu, 28 Mar 2013 03:30:00 +0000 (23:30 -0400)]
Finally resolve #1084
Send body on redirect when POSTing or PUTing.
Ian Cordasco [Thu, 28 Mar 2013 03:26:11 +0000 (23:26 -0400)]
This should take care of #1266
We were sending 'None' as the Content-Length on requests where the body was a
generator. This commit should prevent that entirely.
Ian Cordasco [Thu, 28 Mar 2013 03:17:34 +0000 (23:17 -0400)]
Add correct defaults in Session.send()
Resolves #1258
Also fixed the tests to reflect the necessary changes.
Ian Cordasco [Thu, 28 Mar 2013 03:10:59 +0000 (23:10 -0400)]
Update the HISTORY for v1.2
Kenneth Reitz [Tue, 26 Mar 2013 20:38:11 +0000 (16:38 -0400)]
sp
Kenneth Reitz [Tue, 26 Mar 2013 20:32:25 +0000 (16:32 -0400)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Tue, 26 Mar 2013 20:32:20 +0000 (16:32 -0400)]
Rezzy the Request Sea Turtle
Kenneth Reitz [Mon, 25 Mar 2013 19:48:45 +0000 (12:48 -0700)]
Merge pull request #1263 from justin-factual/master
iter_lines documentation for #1260
Justin Fenn [Mon, 25 Mar 2013 19:20:33 +0000 (12:20 -0700)]
Clarify streaming behavior in iter_lines doc
Kenneth Reitz [Fri, 22 Mar 2013 19:52:08 +0000 (15:52 -0400)]
/s/make/invoke
Kenneth Reitz [Fri, 22 Mar 2013 19:48:27 +0000 (15:48 -0400)]
first
Kenneth Reitz [Fri, 22 Mar 2013 19:47:20 +0000 (15:47 -0400)]
actually cleanup url authentication
Kenneth Reitz [Fri, 22 Mar 2013 19:21:28 +0000 (15:21 -0400)]
cp949prover for charade
Kenneth Reitz [Fri, 22 Mar 2013 19:21:04 +0000 (15:21 -0400)]
invoke!
Kenneth Reitz [Fri, 22 Mar 2013 19:20:49 +0000 (15:20 -0400)]
upgrade to charade v1.0.3
Kenneth Reitz [Fri, 22 Mar 2013 19:20:27 +0000 (15:20 -0400)]
remove makefile
Kenneth Reitz [Fri, 22 Mar 2013 04:15:06 +0000 (00:15 -0400)]
fix get_auth_from_url
Kenneth Reitz [Fri, 22 Mar 2013 04:13:08 +0000 (00:13 -0400)]
get_auth_from_url return None if nothing is found
Kenneth Reitz [Fri, 22 Mar 2013 04:12:58 +0000 (00:12 -0400)]
simplify get_auth_from_url call
Kenneth Reitz [Fri, 22 Mar 2013 04:06:23 +0000 (21:06 -0700)]
Merge pull request #1254 from jkakar/url-authentication
url-authentication
Jamu Kakar [Fri, 22 Mar 2013 00:55:08 +0000 (17:55 -0700)]
- Pull credentials out of the URL when possible.
Kenneth Reitz [Wed, 20 Mar 2013 10:37:25 +0000 (03:37 -0700)]
Merge pull request #1239 from miikka/fix-issue-1228
Use session cookies when following redirects
Kenneth Reitz [Thu, 14 Mar 2013 15:29:53 +0000 (08:29 -0700)]
Merge pull request #1245 from Damgaard/master
Remove duplicate comment.
Andreas Damgaard Pedersen [Thu, 14 Mar 2013 15:12:45 +0000 (16:12 +0100)]
Remove duplicate comment.
Miikka Koskinen [Tue, 12 Mar 2013 16:25:19 +0000 (18:25 +0200)]
Do not pass cookies to resolve_redirects
SessionRedirectMixin is extending Session, so we can just use
self.cookies.
Miikka Koskinen [Sat, 9 Mar 2013 10:53:38 +0000 (12:53 +0200)]
Use session cookies when following redirects
When a redirect was followed, only the cookies set by the initial
response were used in the follow-up request. Fixes #1228.
Miikka Koskinen [Sat, 9 Mar 2013 07:16:33 +0000 (09:16 +0200)]
Add failing test case for #1228
Kenneth Reitz [Tue, 12 Mar 2013 15:23:21 +0000 (08:23 -0700)]
Merge pull request #1244 from jajadinimueter/master
Fixed further pickeling issues in Session and HTTPAdapter
Florian Mueller [Tue, 12 Mar 2013 15:04:19 +0000 (16:04 +0100)]
Fixed some pickeling issues with HTTPAdapter and Session
Added trust_env and stream to Session.__attrs__. Initialize
self._pool_connections and self._pool_maxsize in HTTPAdapter.
Kenneth Reitz [Tue, 12 Mar 2013 14:37:55 +0000 (07:37 -0700)]
Merge pull request #1243 from darjus-amzn/master
Pickling of Session and HTTPAdapter + a test
Darjus Loktevic [Mon, 11 Mar 2013 18:12:34 +0000 (18:12 +0000)]
Pickling of Session and HTTPAdapter + a test
This is for issue #1088
Kenneth Reitz [Fri, 8 Mar 2013 19:51:42 +0000 (11:51 -0800)]
Merge pull request #1238 from oczkers/master
cleanup (remove max_retries test)
Piotr Staroszczyk [Fri, 8 Mar 2013 10:17:17 +0000 (11:17 +0100)]
cleanup (remove max_retries test)
Kenneth Reitz [Tue, 5 Mar 2013 15:31:10 +0000 (07:31 -0800)]
Merge pull request #1234 from Vassius/issue-1225
Fix issue #1225 (Documentation: response object status/reason)
Markus Wiik [Tue, 5 Mar 2013 15:18:24 +0000 (16:18 +0100)]
Fix issue #1225 (Documentation: response object status/reason)
Kenneth Reitz [Mon, 4 Mar 2013 22:54:32 +0000 (17:54 -0500)]
Merge remote-tracking branch 'origin/master'
Kenneth Reitz [Mon, 4 Mar 2013 22:54:25 +0000 (17:54 -0500)]
Merge branch 'httperror_init' of git://github.com/dmedvinsky/requests
Conflicts:
AUTHORS.rst
test_requests.py
Kenneth Reitz [Mon, 4 Mar 2013 22:52:31 +0000 (14:52 -0800)]
Merge pull request #1223 from andrewjesaitis/master
Fixes __getstate__ for session pickling
Andrew Jesaitis [Mon, 4 Mar 2013 18:07:29 +0000 (11:07 -0700)]
Adds __attrs__ back to Session object
Kenneth Reitz [Sun, 3 Mar 2013 17:01:47 +0000 (12:01 -0500)]
Revert "[kennethreitz/requests#1208] adding unit test for max_retries"
This reverts commit
18b29ea00563a0bf8e15666806117444c87ac23f.
Kenneth Reitz [Sun, 3 Mar 2013 17:01:38 +0000 (12:01 -0500)]
Revert "[kennethreitz/requests#1208] adding a max_retries argument"
This reverts commit
796d3225ddf08a9ebaa429209b9d077c3a8f99b8.
Dmitry Medvinsky [Fri, 1 Mar 2013 08:43:39 +0000 (12:43 +0400)]
Add ability to pass `response` to `HTTPError()`
Just a little refactoring, but it seems nicer to me to be able to pass
the response when constructing the `HTTPError` instance instead of
constructing it and then changing the member variable.
Kenneth Reitz [Sat, 2 Mar 2013 21:04:00 +0000 (13:04 -0800)]
Merge pull request #1190 from mkomitee/master
Pass user options to hooks
Kenneth Reitz [Sat, 2 Mar 2013 21:02:26 +0000 (13:02 -0800)]
Merge pull request #1219 from Wilfred/master
Adding max_retries as an argument
Kenneth Reitz [Sat, 2 Mar 2013 21:00:48 +0000 (13:00 -0800)]
Merge pull request #1226 from dmedvinsky/fix-typos
Fix couple of typos in HISTORY.rst
Kenneth Reitz [Sat, 2 Mar 2013 20:59:41 +0000 (12:59 -0800)]
Merge pull request #1229 from sprt/master
Doc fix: URLError doesn't exist anymore
Kenneth Reitz [Sat, 2 Mar 2013 20:59:10 +0000 (12:59 -0800)]
Merge pull request #1230 from davidfischer/trivial-docs-fix
Github URL fix
Kenneth Reitz [Sat, 2 Mar 2013 20:58:49 +0000 (12:58 -0800)]
Merge pull request #1231 from davidfischer/docs-migration1.0
Initial docs patch for migrating from pre 1.0
David Fischer [Sat, 2 Mar 2013 16:59:19 +0000 (08:59 -0800)]
Session isn't advertised as a context manager
David Fischer [Sat, 2 Mar 2013 16:51:55 +0000 (08:51 -0800)]
Capitalize s in Session