Michael Schurter
62a23bfbde
Auto-detect CA Cert path instead of requiring users to hack setup.py
...
Also fixed nearby comments to wrap at 79 characters as per PEP8
2012-06-04 13:19:10 -07:00
Kenneth Reitz
b026def961
Merge pull request #646 from mkomitee/hooks
...
Allowing hooks to return responses that indicate errors
2012-06-04 07:44:56 -07:00
Michael Komitee
662c3edacc
Allowing hooks to return responses that indicate errors
...
Since response objects for failures (4xx/5xx responses) evaluate to False
in a boolean context, any hook which returns such a failure response will
evaluate to False.
The way hooks were setup, any failure response resulting from a hook would
be ignored, and the initial response before it got processed by the hook
would be substituted in its place. This commit changes that logic to test
for None so that hooks that return failures can do so.
2012-06-01 16:05:22 -04:00
Kenneth Reitz
355b97165c
Merge pull request #643 from gwrtheyrn/docs_proxy_auth
...
Added information about HTTP proxy authentication to docs
2012-05-30 12:48:33 -07:00
Danilo Bargen
d81dfe266e
Added information about HTTP proxy authentication to docs
2012-05-30 17:34:24 +02:00
Kenneth Reitz
77a57c0e7e
v0.13.0
v0.13.0
2012-05-29 20:53:51 -04:00
Kenneth Reitz
a291d0d0f8
whitespace
2012-05-29 20:53:13 -04:00
Kenneth Reitz
617091e747
v0.13.0
2012-05-29 20:52:58 -04:00
Kenneth Reitz
cb15310d6a
by @mwielgoszewski
2012-05-29 19:54:40 -04:00
Kenneth Reitz
1c0abbd74b
cleanup #633
2012-05-29 19:53:22 -04:00
Kenneth Reitz
7813bd8ac0
Merge pull request #633 from tzuryby/develop
...
poor man's patch for issue #630
2012-05-29 16:51:48 -07:00
Kenneth Reitz
ad8205f930
Merge pull request #619 from Lukasa/develop
...
Rewrite quickstart docs.
2012-05-29 16:49:51 -07:00
Kenneth Reitz
f9dd485582
Merge pull request #640 from JuhaS/patch-1
...
Small correction on a comment.
2012-05-29 16:45:54 -07:00
Kenneth Reitz
d0f309b947
Merge pull request #638 from mher/develop
...
no_proxy support
2012-05-29 16:44:56 -07:00
Kenneth Reitz
400b4567f0
Merge pull request #632 from amalakar/develop
...
Issue #505 : Changed the store_cookie configuration to be part of the conig dict, instead of being a new argument
2012-05-29 16:41:39 -07:00
JuhaS
ba4cc326c2
Small correction on a comment.
2012-05-28 16:28:31 +03:00
Mher Movsisyan
cb8f9756e3
Fixes python3 compatibility issue
2012-05-28 14:11:59 +05:00
Mher Movsisyan
b8561cda5e
no_proxy support
2012-05-27 22:21:26 +05:00
Tzury Bar Yochay
7125fe5554
this try catch is a poor man's patch for issue #630 see https://github.com/kennethreitz/requests/issues/630
2012-05-24 06:17:21 +03:00
Arup Malakar
4a30979622
Change the None check from self.assertIsNone to python style None Check, as build was failing
2012-05-23 14:25:54 -07:00
Arup Malakar
b28673368b
Issue #505 : Changed the store_cookie configuration to be part of the config dict, instead of being a new argument
2012-05-23 14:12:18 -07:00
Kenneth Reitz
de1637c3de
Merge pull request #626 from joshimhoff/develop
...
Improvements to RequestsCookieJar
2012-05-21 21:45:44 -07:00
Josh Imhoff
0eb0b89431
Removed print statements left over from debugging.
2012-05-21 20:27:47 -04:00
Josh Imhoff
96cd8e9ca0
Wrote tests for new CookieJar functionality and made them pass.
2012-05-21 20:14:12 -04:00
Josh Imhoff
9f26d0ced3
In cookies.py, CookieConflictError is now thrown if there is more than one cookie with same name.
2012-05-21 18:21:12 -04:00
Josh Imhoff
b7d0925d6b
Docstrings and bug fixes in cookies.py
2012-05-21 17:59:38 -04:00
Cory Benfield
2b8e01bff7
First draft of full verbs.
2012-05-19 21:34:36 +01:00
Josh Imhoff
686db5d452
Defined keys(), values(), and items() in order to support dict-like client interface. Now, we throw exceptions if __getitem__() or __setitem__() is used when multiple domains are in jar.
2012-05-18 00:48:59 -04:00
Cory Benfield
36fd8da1c0
Correctly reflect redirection behaviour.
...
The docs incorrectly listed HEAD as a method that follows redirects by
default: it does not. This commit resolves this issue, and thus resolves
issue #504 .
2012-05-17 19:25:35 +01:00
Cory Benfield
45506d1f39
Rewrite quickstart docs.
...
This should help with issue #503 .
2012-05-17 10:16:42 +01:00
Kenneth Reitz
2d9746621a
Merge pull request #617 from mwielgoszewski/develop
...
Expose case-insensitive key access when deleting a key from CaseInsensitveDict
2012-05-16 17:34:02 -07:00
Kenneth Reitz
3c14435109
fix test for 2.6's unittest
2012-05-16 17:13:55 -07:00
Kenneth Reitz
4cf31b0b86
authors
2012-05-16 17:09:43 -07:00
Arup Malakar
c501784541
Issue #505 : Allow disabling of cookie persistence/sending
2012-05-16 15:07:15 -07:00
Marcin Wielgoszewski
4b7c5dab0e
Expose case-insensitive key access when deleting a key from CaseInsensitiveDict
2012-05-16 13:58:51 -04:00
Kenneth Reitz
c477f6eb6f
Merge pull request #562 from slingamn/urandom
...
replace utils.randombytes with os.urandom
2012-05-15 22:49:27 -07:00
Shivaram Lingamneni
f25827c5b6
replace utils.randombytes with os.urandom
2012-05-15 15:42:03 -07:00
Kenneth Reitz
355003b400
Merge pull request #614 from ib-lundgren/multipart_fix
...
Better content-type detection and unicode fix
2012-05-15 08:39:20 -07:00
Ib Lundgren
6a9d59ea97
Unicode fix for py3
2012-05-15 17:37:15 +02:00
Kenneth Reitz
2f50cb92b6
Merge pull request #613 from surajbarkale/patch-1
...
Remove sharing of base_headers config between sessions.
2012-05-15 08:31:43 -07:00
Ib Lundgren
c24665b593
Better content-type detection and unicode fix
2012-05-15 17:20:01 +02:00
Suraj Barkale
973e9cb548
Remove sharing of base_headers config between sessions.
...
Since base_headers is a dictionary, it's reference was shared with all instances of
Session objects. Using deepcopy here should not incur large performance penalty.
2012-05-15 19:47:02 +05:30
Kenneth Reitz
763393f70a
Merge pull request #611 from pnasrat/develop
...
Improve developer documentation.
2012-05-13 19:47:19 -07:00
Paul Nasrat
2c11473816
Improve developer documentation.
...
I cloned, followed the todo and had failures as no certifi or chardet.
Fixed up so easy to get started.
2012-05-13 16:09:52 -07:00
Kenneth Reitz
40d325366b
Merge pull request #610 from medwards/whitespace
...
Removed extra whitespace
2012-05-13 11:01:22 -07:00
Michael Edwards
51f7628078
Removed extra whitespace
2012-05-13 11:59:31 +02:00
Kenneth Reitz
4161a7ec6a
Merge pull request #607 from ztest/develop
...
Fix a docstring typo (of -> if).
2012-05-12 14:23:04 -07:00
ztest
ed767cb703
Fix a docstring typo (of -> if).
2012-05-12 13:09:14 -04:00
Shivaram Lingamneni
0442122d34
remove unused import
2012-05-10 15:14:44 -07:00
Kenneth Reitz
327b9eab87
semver
2012-05-10 17:11:35 -05:00