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
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
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
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
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
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
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
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
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
Michael Edwards
51f7628078
Removed extra whitespace
2012-05-13 11:59:31 +02: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
3ee594140b
remove oreos
2012-05-10 17:10:47 -05:00
Kenneth Reitz
32327f8f7c
remove requests.async
2012-05-10 17:01:09 -05:00
Kenneth Reitz
0a37d82444
Merge pull request #603 from benmao/develop
...
get cookie like dict, such as s.cookies.get('test', 'no cookie')
2012-05-10 11:07:00 -07:00
ben
44663b5e8e
get cookie like dict, such as self.cookies.get('test', 'no cookie')
2012-05-10 22:17:23 +08:00
Josh Imhoff
db43eb4cb9
Now, safe_mode will catch socket.timeout too.
2012-05-09 15:13:12 -04:00
Josh Imhoff
cff70e75b7
New implementation of safe_mode. Now, we throw exceptions in models.py regardless of safe_mode. We catch those exceptions at the API level and return a blank Response. See safe_mode.py for details.
2012-05-09 14:47:29 -04:00
Roman Haritonov
33f1087584
Move session cookie saving from Session.request() to Request._build_response()
2012-05-08 13:02:39 +04:00
Kenneth Reitz
a3a928c7f1
gah
2012-05-08 01:21:48 -04:00
Kenneth Reitz
bca920c1c1
v0.12.1
2012-05-08 01:18:05 -04:00
Kenneth Reitz
6b09e6ee34
redirects clear files also
...
Fixes #575
2012-05-08 01:14:17 -04:00
Kenneth Reitz
2a7811bf2f
Merge remote-tracking branch 'origin/develop' into develop
2012-05-08 00:58:32 -04:00
Kenneth Reitz
fe7348cc53
yay json
...
fixes #593
2012-05-08 00:57:46 -04:00
barberj
3288426f2b
added unicode strings
2012-05-06 15:14:57 -07:00
barberj
ed7b14899f
added mutlipart file=strings
2012-05-06 15:14:40 -07:00
Kenneth Reitz
c84012edec
Merge pull request #585 from chazapis/develop
...
Fix out-of-range issue with iter_lines (#515 ).
2012-05-04 11:49:49 -07:00
Kenneth Reitz
3d373e2a16
Merge pull request #579 from slingamn/pyflakes.release
...
Changes for #574
2012-05-03 23:29:04 -07:00
Kenneth Reitz
38e6695627
Merge pull request #581 from crodjer/develop
...
A utility for using environment proxies
2012-05-03 23:28:07 -07:00
Rohan Jain
abc38cf17f
Use utility for environment proxy as fallback
...
Signed-off-by: Rohan Jain <crodjer@gmail.com >
2012-05-04 10:44:07 +05:30
Rohan Jain
0ba8c44260
A utility function to fetch environment proxies
...
This adds support for lowercase environment proxy variables (which are
quite popular too). It returns proxies in a format compatible with
request's proxy parameter.
Moreover, it can be used in the request models for proxy defaults.
Signed-off-by: Rohan Jain <crodjer@gmail.com >
2012-05-04 10:44:01 +05:30
Shivaram Lingamneni
35ec6bb613
fix for #458
2012-05-03 21:16:56 -07:00
Shivaram Lingamneni
bcc4125a18
quiet spurious pyflakes errors
2012-05-03 19:59:15 -07:00
Kenneth Reitz
317f64a11f
Merge pull request #577 from slingamn/redirects_537
...
Fix and test for #537
2012-05-03 01:36:12 -07:00
Shivaram Lingamneni
9bf53676b8
fix crash in safe mode when response.cookies is None
2012-05-03 01:29:12 -07:00
Shivaram Lingamneni
853a07112b
consistency: .text shouldn't recover from unicode decoding errors, either
2012-05-02 20:21:02 -07:00
Shivaram Lingamneni
538de55607
raise a ValueError if no encoding was sent and chardet is unavailable
2012-05-02 20:21:02 -07:00
Kenneth Reitz
fb2931801e
v0.12.0
2012-05-02 19:13:19 -04:00
Kenneth Reitz
8ac6b266c9
pre-send hook
...
#516
2012-05-02 19:09:18 -04:00