Daniel Miller
|
aa04cc9b42
|
Make get and head requests respect allow_redirects=False.
|
2011-10-05 14:36:12 -04:00 |
|
Kenneth Reitz
|
c75eaec852
|
integrate codes into models.py
|
2011-08-19 20:12:33 -04:00 |
|
Kenneth Reitz
|
9d143ed653
|
Merge branch 'develop' of https://github.com/jerem/requests into feature/jerem
|
2011-08-19 19:58:24 -04:00 |
|
Den Shabalin
|
2f55393593
|
Fixes an issue #128: `Response not working with lxml''. This error happend due to lxml's attempt to do .geturl() call on the response object. __getattr__ didn't raise AttributeError so response.geturl'' returned None and response.geturl()'' resulted into `TypeError: 'NoneType' object is not callable'' seen in the issue.
|
2011-08-19 19:18:26 +03:00 |
|
Kenneth Reitz
|
96e7a60b8d
|
Allow any method, if so inclined
#124
|
2011-08-17 20:15:28 -04:00 |
|
Jérémy Bethmont
|
c22b71fc5b
|
Handle redirection without scheme.
|
2011-08-17 16:04:53 +02:00 |
|
Jérémy Bethmont
|
a17110b32a
|
Merge remote-tracking branch 'upstream/develop' into develop
|
2011-08-17 15:32:11 +02:00 |
|
Jérémy Bethmont
|
571d808d25
|
Fixed bad merge.
|
2011-08-17 15:31:24 +02:00 |
|
Jérémy Bethmont
|
fe109b27be
|
Merge remote-tracking branch 'upstream/develop' into develop
Conflicts:
requests/models.py
|
2011-08-17 10:07:43 +02:00 |
|
Kenneth Reitz
|
e0ae2b4155
|
fixes
|
2011-08-17 04:03:54 -04:00 |
|
Kenneth Reitz
|
7e255177dc
|
get cookies from response
#116
|
2011-08-17 01:23:49 -04:00 |
|
Kenneth Reitz
|
281ab5a8f9
|
move hooks into api layer only
|
2011-08-17 00:40:28 -04:00 |
|
Kenneth Reitz
|
7836536459
|
post_request hook
|
2011-08-17 00:33:28 -04:00 |
|
Kenneth Reitz
|
3e8a14e133
|
pre_request hook
|
2011-08-17 00:28:03 -04:00 |
|
Kenneth Reitz
|
783e540d6d
|
sigh
|
2011-08-17 00:09:47 -04:00 |
|
Kenneth Reitz
|
24da41005c
|
hmmm
|
2011-08-17 00:09:38 -04:00 |
|
Kenneth Reitz
|
17d3e1d498
|
whitespace
|
2011-08-17 00:08:39 -04:00 |
|
Kenneth Reitz
|
8d2ab68a97
|
space
|
2011-08-17 00:08:06 -04:00 |
|
Kenneth Reitz
|
7322aa5b64
|
newlines
|
2011-08-17 00:02:18 -04:00 |
|
Kenneth Reitz
|
6b11cf21f3
|
todo
|
2011-08-17 00:00:47 -04:00 |
|
Kenneth Reitz
|
4625445d2a
|
Merge branch 'develop' of https://github.com/moliware/requests into develop
|
2011-08-15 21:50:00 -04:00 |
|
JensDiemer
|
88f79b74ce
|
use settings.timeout_fallback bool for socket.setdefaulttimeout() fallback
|
2011-08-15 17:03:37 +02:00 |
|
JensDiemer
|
647cdd3847
|
Use socket.setdefaulttimeout(timeout) only if timeout argument doesn't exist (Python <2.6) - https://github.com/kennethreitz/requests/issues/112
|
2011-08-15 16:51:33 +02:00 |
|
moliware
|
c510d21e4e
|
headers.update is not the same that add headers one by one with add_header
|
2011-08-15 11:58:57 +02:00 |
|
Kenneth Reitz
|
975720a30c
|
I'll have to manually add that to sphinx
|
2011-08-14 15:50:18 -04:00 |
|
Kenneth Reitz
|
23ff27ea4b
|
Documentation fixes
|
2011-08-14 11:43:25 -04:00 |
|
Kenneth Reitz
|
2d70647f72
|
attach request object to responses
|
2011-08-13 13:17:17 -04:00 |
|
Kenneth Reitz
|
10cc4673f9
|
remove Response.cached
|
2011-08-13 13:14:10 -04:00 |
|
Kenneth Reitz
|
5693314a37
|
response error handling rework
|
2011-08-13 13:01:44 -04:00 |
|
Jérémy Bethmont
|
e1909375f5
|
Merge branch 'memoryleak' into develop
Conflicts:
requests/models.py
|
2011-08-09 17:31:26 +02:00 |
|
Jérémy Bethmont
|
cf94c96a68
|
Always close connection during redirections.
|
2011-08-09 17:30:19 +02:00 |
|
Jérémy Bethmont
|
e7e395549f
|
Handle too many redirects.
|
2011-08-09 17:28:58 +02:00 |
|
Jérémy Bethmont
|
e776242de1
|
Merge branch 'urlencode' into develop
|
2011-08-09 15:42:18 +02:00 |
|
Jérémy Bethmont
|
7b79cea738
|
Use urljoin instead of manual concatenation.
|
2011-08-09 15:41:59 +02:00 |
|
Jérémy Bethmont
|
32a861b2ed
|
Fixed memory leak (see http://bugs.python.org/issue1208304)
|
2011-08-09 15:34:44 +02:00 |
|
Jérémy Bethmont
|
aa0f78b740
|
Better support of utf-8 paths.
|
2011-08-09 15:14:08 +02:00 |
|
Jérémy Bethmont
|
7dc581fad9
|
Merge branch 'develop' into urlencode
|
2011-08-08 18:14:08 +02:00 |
|
Jérémy Bethmont
|
0b6dc091f5
|
Added support for URLs with path not encoded.
|
2011-08-08 18:11:33 +02:00 |
|
Jeremy Selier
|
5a7ec361f4
|
Join with the latest URL not the first one.
|
2011-08-02 18:51:21 +03:00 |
|
Jeremy Selier
|
291d4742d6
|
Fixes correct "relative" redirections. Example: http://digg.com/d1qIwX, which redirects to "/news/story/A_Manifesto_How_to_Save_Media", which requests transforms to: http://digg.com//news/story/A_Manifesto_How_to_Save_Media" which results in an endless redirect loop.
|
2011-08-02 18:05:03 +03:00 |
|
Kenneth Reitz
|
c3c90bb09c
|
default headers and content encoding settings
Closes #78
|
2011-07-23 22:35:46 -04:00 |
|
Kenneth Reitz
|
9b6a190652
|
Merge branch 'develop' of https://github.com/rabad/requests into develop
|
2011-07-23 22:11:59 -04:00 |
|
Kenneth Reitz
|
1e1fb1e7a8
|
Redirect history fix (Closes #91)
|
2011-07-23 22:11:54 -04:00 |
|
Kenneth Reitz
|
5fff2c757b
|
forced_basic default handler.
|
2011-07-23 21:37:17 -04:00 |
|
Kenneth Reitz
|
7d91d3fb5c
|
use patched HTTPBasicAuthHandler
|
2011-07-23 20:10:37 -04:00 |
|
Rubén Abad
|
73b414ab45
|
We can represent multivalued params with arrays
|
2011-07-13 11:08:54 +02:00 |
|
Jérémy Bethmont
|
891e52d723
|
Added the possibility to access headers without fetching the whole body (fixes #86).
|
2011-06-29 11:10:39 +02:00 |
|
Xu Pan
|
d2ff0f40eb
|
add doseq to urlencode in model._encode_params to enable list as dict value
|
2011-06-26 13:32:19 +08:00 |
|
Kenneth Reitz
|
6f08c81698
|
note about indns
|
2011-06-24 18:24:44 -04:00 |
|
Jérémy Bethmont
|
868cd3d1cb
|
Implemented idna (fixes #76).
|
2011-06-24 12:21:25 +02:00 |
|