services/python-requests.git
12 years agoMake clearer the source of forbidden characters
Cory Benfield [Tue, 14 Feb 2012 12:58:35 +0000 (12:58 +0000)]
Make clearer the source of forbidden characters

12 years agoKeep non RFC cookie key characters separate.
Cory Benfield [Tue, 14 Feb 2012 10:25:40 +0000 (10:25 +0000)]
Keep non RFC cookie key characters separate.

Moved the characters that we accept in keys but that the RFC forbids
into a separate string to keep track of them.

12 years agoAccept unusual keys in cookies.
Cory Benfield [Tue, 14 Feb 2012 00:03:03 +0000 (00:03 +0000)]
Accept unusual keys in cookies.

The Oreos module throws CookieErrors when it catches keys that have
characters that shouldn't be in them, like colons and braces. Other
services are happy to send out such keys, however. This commit makes
requests non-standards compliant, just like everyone else is.

12 years agoTypo fix in oreos/structures.py
Luka Zakrajšek [Mon, 6 Feb 2012 12:42:34 +0000 (13:42 +0100)]
Typo fix in oreos/structures.py

12 years agoUse basestring instead of str to determine when to return headers as-is. This makes...
Greg Taylor [Sun, 5 Feb 2012 02:55:55 +0000 (21:55 -0500)]
Use basestring instead of str to determine when to return headers as-is. This makes sure that unicode instances aren't enumerated.

12 years agoUpdate docs/community/faq.rst
Kenneth Reitz [Fri, 3 Feb 2012 18:24:00 +0000 (13:24 -0500)]
Update docs/community/faq.rst

12 years ago:trollface:
Kenneth Reitz [Thu, 2 Feb 2012 22:23:47 +0000 (17:23 -0500)]
:trollface:

because i can.

12 years agotest #2
Kenneth Reitz [Wed, 1 Feb 2012 18:35:34 +0000 (13:35 -0500)]
test #2

12 years agoquick test
Kenneth Reitz [Wed, 1 Feb 2012 18:33:59 +0000 (13:33 -0500)]
quick test

12 years agoNative Instruments!
Kenneth Reitz [Tue, 31 Jan 2012 07:15:55 +0000 (02:15 -0500)]
Native Instruments!

12 years agov0.10.2
Kenneth Reitz [Mon, 30 Jan 2012 14:41:09 +0000 (09:41 -0500)]
v0.10.2

12 years agoMerge branch 'unicode_missing_self' of https://github.com/Telofy/requests into develop
Kenneth Reitz [Mon, 30 Jan 2012 14:35:53 +0000 (09:35 -0500)]
Merge branch 'unicode_missing_self' of https://github.com/Telofy/requests into develop

12 years agoMerge branch 'pr-urlfix-1' of https://github.com/brendoncrawford/requests into develop
Kenneth Reitz [Mon, 30 Jan 2012 14:33:31 +0000 (09:33 -0500)]
Merge branch 'pr-urlfix-1' of https://github.com/brendoncrawford/requests into develop

12 years agoBrendon Crawford
Kenneth Reitz [Mon, 30 Jan 2012 14:33:14 +0000 (09:33 -0500)]
Brendon Crawford

12 years agoThe `self` was missing again, and I think the two blocks were redundant.
Telofy [Mon, 30 Jan 2012 11:23:43 +0000 (12:23 +0100)]
The `self` was missing again, and I think the two blocks were redundant.

12 years agoAdded ability to check if missing trailing slash in path.
Brendon Crawford [Mon, 30 Jan 2012 07:24:54 +0000 (23:24 -0800)]
Added ability to check if missing trailing slash in path.

Previously this URL would not work:

    http://example.com?foo=bar

But this URL would work:

    http://example.com/?foo=bar

Even though a slash is required for a valid URL, it is a common use case
for the slash to be left out, so it would be a good idea to account for this.

12 years agoMerge branch '239-socket-leak' of https://github.com/acdha/requests into develop
Kenneth Reitz [Mon, 30 Jan 2012 00:06:41 +0000 (19:06 -0500)]
Merge branch '239-socket-leak' of https://github.com/acdha/requests into develop

12 years agoLess redundant freeing of resources on redirects
Chris Adams [Sun, 29 Jan 2012 23:45:14 +0000 (18:45 -0500)]
Less redundant freeing of resources on redirects

With 495646bb6a89802a60208c2ab09749edba1f8e51 the double flush is no longer
needed.

12 years agoRevert "Initial stop-the-bleeding fix"
Chris Adams [Sun, 29 Jan 2012 23:43:13 +0000 (18:43 -0500)]
Revert "Initial stop-the-bleeding fix"

This reverts commit 730c0e2e2bef77968a86962f9d5f2bebba4d19ec.

12 years agoasync: force prefetch=True on send
Chris Adams [Sun, 29 Jan 2012 23:42:46 +0000 (18:42 -0500)]
async: force prefetch=True on send

… otherwise we can run out of sockets before any of the responses are ever
processed

12 years agoRelease redirected connections.
Kenneth Reitz [Sun, 29 Jan 2012 23:00:33 +0000 (18:00 -0500)]
Release redirected connections.

#239

12 years agoInitial stop-the-bleeding fix
Chris Adams [Sun, 29 Jan 2012 22:31:57 +0000 (17:31 -0500)]
Initial stop-the-bleeding fix

This is redundant but it avoids crashing otherwise working code. The code-smell
from duplication suggests that this interface should be refactored slightly.

12 years agoConsistent self.cookies usage
Chris Adams [Sun, 29 Jan 2012 21:52:08 +0000 (16:52 -0500)]
Consistent self.cookies usage

This avoids two variables pointing to the same thing and avoids
a duplicate dict update() call

12 years agoMinor PEP-8 cleanup
Chris Adams [Sun, 29 Jan 2012 21:51:28 +0000 (16:51 -0500)]
Minor PEP-8 cleanup

12 years agoonly do oreos for 2
Kenneth Reitz [Sun, 29 Jan 2012 04:10:03 +0000 (23:10 -0500)]
only do oreos for 2

12 years agowow.
Kenneth Reitz [Fri, 27 Jan 2012 17:18:56 +0000 (11:18 -0600)]
wow.

12 years agolazy tests
Kenneth Reitz [Fri, 27 Jan 2012 17:16:47 +0000 (11:16 -0600)]
lazy tests

12 years agoadd failing test for unicode headers (python 2.x only)
David Kemp (Work) [Thu, 26 Jan 2012 18:45:38 +0000 (18:45 +0000)]
add failing test for unicode headers (python 2.x only)

12 years agoMerge pull request #389 from johtso/patch-1
Kenneth Reitz [Thu, 26 Jan 2012 06:40:30 +0000 (22:40 -0800)]
Merge pull request #389 from johtso/patch-1

Fix httpbin urls with missing .org in docs

12 years agoFix httpbin urls with missing .org
Johannes [Thu, 26 Jan 2012 02:13:04 +0000 (02:13 +0000)]
Fix httpbin urls with missing .org

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Wed, 25 Jan 2012 16:26:08 +0000 (11:26 -0500)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agoDavid Kemp
Kenneth Reitz [Wed, 25 Jan 2012 16:26:04 +0000 (11:26 -0500)]
David Kemp

12 years agoMerge pull request #387 from davidarkemp/develop
Kenneth Reitz [Wed, 25 Jan 2012 16:25:26 +0000 (08:25 -0800)]
Merge pull request #387 from davidarkemp/develop

fix problem with path being double escaped

12 years agofix problem with path being double escaped
David Kemp (Work) [Wed, 25 Jan 2012 16:21:07 +0000 (16:21 +0000)]
fix problem with path being double escaped

12 years agoMerge branch 'develop' of https://github.com/mastahyeti/requests into develop
Kenneth Reitz [Wed, 25 Jan 2012 14:04:41 +0000 (09:04 -0500)]
Merge branch 'develop' of https://github.com/mastahyeti/requests into develop

12 years agomoar tests
Kenneth Reitz [Wed, 25 Jan 2012 14:03:20 +0000 (09:03 -0500)]
moar tests

12 years agoStandard tests from RequestsTestSuite run using async api
Piotr Dobrogost [Tue, 24 Jan 2012 20:56:59 +0000 (21:56 +0100)]
Standard tests from RequestsTestSuite run using async api

12 years agoadded myself to authors.rst
Ben [Tue, 24 Jan 2012 15:59:41 +0000 (09:59 -0600)]
added myself to authors.rst

12 years agomoved call to pre_request hook, allowing for more meaningful use.
Mastahyeti [Tue, 24 Jan 2012 02:56:05 +0000 (20:56 -0600)]
moved call to pre_request hook, allowing for more meaningful use.

12 years ago80k
Kenneth Reitz [Mon, 23 Jan 2012 07:52:38 +0000 (02:52 -0500)]
80k

12 years ago@takluyver
Kenneth Reitz [Mon, 23 Jan 2012 07:49:10 +0000 (02:49 -0500)]
@takluyver

12 years agotext
Kenneth Reitz [Mon, 23 Jan 2012 07:43:38 +0000 (02:43 -0500)]
text

12 years agor.text
Kenneth Reitz [Mon, 23 Jan 2012 07:42:34 +0000 (02:42 -0500)]
r.text

12 years agoexplain binary response data
Kenneth Reitz [Mon, 23 Jan 2012 07:42:05 +0000 (02:42 -0500)]
explain binary response data

12 years agobetter feature list
Kenneth Reitz [Mon, 23 Jan 2012 07:34:42 +0000 (02:34 -0500)]
better feature list

12 years agor.text
Kenneth Reitz [Mon, 23 Jan 2012 07:32:09 +0000 (02:32 -0500)]
r.text

12 years agoreadme update
Kenneth Reitz [Mon, 23 Jan 2012 07:31:16 +0000 (02:31 -0500)]
readme update

12 years agoPYTHON 3 v0.10.1
Kenneth Reitz [Mon, 23 Jan 2012 07:28:01 +0000 (02:28 -0500)]
PYTHON 3

12 years agopythons
Kenneth Reitz [Mon, 23 Jan 2012 07:21:35 +0000 (02:21 -0500)]
pythons

12 years agonew pythons!
Kenneth Reitz [Mon, 23 Jan 2012 07:21:30 +0000 (02:21 -0500)]
new pythons!

12 years agodon't let that happen...
Kenneth Reitz [Mon, 23 Jan 2012 07:19:56 +0000 (02:19 -0500)]
don't let that happen...

12 years agov0.10.1
Kenneth Reitz [Mon, 23 Jan 2012 07:18:26 +0000 (02:18 -0500)]
v0.10.1

12 years agodammit, i changed again
Kenneth Reitz [Mon, 23 Jan 2012 07:03:16 +0000 (02:03 -0500)]
dammit, i changed again

12 years agofix 26
Kenneth Reitz [Mon, 23 Jan 2012 07:01:53 +0000 (02:01 -0500)]
fix 26

12 years ago assert isinstance
Kenneth Reitz [Mon, 23 Jan 2012 06:59:13 +0000 (01:59 -0500)]
 assert isinstance

12 years ago assert isinstance
Kenneth Reitz [Mon, 23 Jan 2012 06:58:32 +0000 (01:58 -0500)]
 assert isinstance

12 years agono more unittest2
Kenneth Reitz [Mon, 23 Jan 2012 06:56:58 +0000 (01:56 -0500)]
no more unittest2

12 years agoyikes
Kenneth Reitz [Mon, 23 Jan 2012 06:54:00 +0000 (01:54 -0500)]
yikes

12 years agohmm
Kenneth Reitz [Mon, 23 Jan 2012 06:52:33 +0000 (01:52 -0500)]
hmm

12 years agocchch changes
Kenneth Reitz [Mon, 23 Jan 2012 06:48:40 +0000 (01:48 -0500)]
cchch changes

12 years agorequirements.txt
Kenneth Reitz [Mon, 23 Jan 2012 06:47:39 +0000 (01:47 -0500)]
requirements.txt

12 years agonew certifi
Kenneth Reitz [Mon, 23 Jan 2012 06:46:41 +0000 (01:46 -0500)]
new certifi

12 years agofixes
Kenneth Reitz [Mon, 23 Jan 2012 06:44:07 +0000 (01:44 -0500)]
fixes

12 years agoreqs fixes
Kenneth Reitz [Mon, 23 Jan 2012 06:44:01 +0000 (01:44 -0500)]
reqs fixes

12 years agooh snap
Kenneth Reitz [Mon, 23 Jan 2012 06:32:09 +0000 (01:32 -0500)]
oh snap

12 years agoSimpleCookie
Kenneth Reitz [Mon, 23 Jan 2012 06:02:16 +0000 (01:02 -0500)]
SimpleCookie

12 years agourllib3 update
Kenneth Reitz [Mon, 23 Jan 2012 06:01:42 +0000 (01:01 -0500)]
urllib3 update

12 years agomore stuff and things
Kenneth Reitz [Mon, 23 Jan 2012 05:52:38 +0000 (00:52 -0500)]
more stuff and things

12 years agogood
Kenneth Reitz [Mon, 23 Jan 2012 05:43:01 +0000 (00:43 -0500)]
good

12 years agocompat
Kenneth Reitz [Mon, 23 Jan 2012 05:34:31 +0000 (00:34 -0500)]
compat

12 years agocleanups and stuffs
Kenneth Reitz [Mon, 23 Jan 2012 05:29:50 +0000 (00:29 -0500)]
cleanups and stuffs

12 years agoblah
Kenneth Reitz [Mon, 23 Jan 2012 05:25:48 +0000 (00:25 -0500)]
blah

12 years agoblah
Kenneth Reitz [Mon, 23 Jan 2012 05:15:25 +0000 (00:15 -0500)]
blah

12 years agostuff and things
Kenneth Reitz [Mon, 23 Jan 2012 01:12:49 +0000 (20:12 -0500)]
stuff and things

12 years agowhatever
Kenneth Reitz [Mon, 23 Jan 2012 01:12:43 +0000 (20:12 -0500)]
whatever

12 years agofurther
Kenneth Reitz [Mon, 23 Jan 2012 00:42:13 +0000 (19:42 -0500)]
further

12 years agopython3 version of urllib3
Kenneth Reitz [Sun, 22 Jan 2012 20:06:53 +0000 (15:06 -0500)]
python3 version of urllib3

12 years agodates
Kenneth Reitz [Sun, 22 Jan 2012 04:19:49 +0000 (23:19 -0500)]
dates

12 years ago@gulopine
Kenneth Reitz [Sun, 22 Jan 2012 04:18:06 +0000 (23:18 -0500)]
@gulopine

12 years agoResponse.url.
Kenneth Reitz [Sun, 22 Jan 2012 04:10:37 +0000 (23:10 -0500)]
Response.url.

12 years agohistory! v0.10.0
Kenneth Reitz [Sun, 22 Jan 2012 04:06:34 +0000 (23:06 -0500)]
history!

12 years agoBeautiful history.
Kenneth Reitz [Sun, 22 Jan 2012 04:03:07 +0000 (23:03 -0500)]
Beautiful history.

12 years agowhitespace
Kenneth Reitz [Sun, 22 Jan 2012 04:00:28 +0000 (23:00 -0500)]
whitespace

12 years agocleanup
Kenneth Reitz [Sun, 22 Jan 2012 03:59:57 +0000 (22:59 -0500)]
cleanup

12 years agotypo
Kenneth Reitz [Sun, 22 Jan 2012 03:58:38 +0000 (22:58 -0500)]
typo

Signed-off-by: Kenneth Reitz <me@kennethreitz.com>
12 years agosimpler
Kenneth Reitz [Sun, 22 Jan 2012 03:57:24 +0000 (22:57 -0500)]
simpler

12 years agodon't double decode
Kenneth Reitz [Sun, 22 Jan 2012 03:56:53 +0000 (22:56 -0500)]
don't double decode

12 years agoUse chardet for detection when no encoding is provided.
Kenneth Reitz [Sun, 22 Jan 2012 03:55:41 +0000 (22:55 -0500)]
Use chardet for detection when no encoding is provided.

12 years agochardet
Kenneth Reitz [Sun, 22 Jan 2012 03:35:19 +0000 (22:35 -0500)]
chardet

12 years agochardet
Kenneth Reitz [Sun, 22 Jan 2012 03:35:11 +0000 (22:35 -0500)]
chardet

12 years agobuild number
Kenneth Reitz [Sun, 22 Jan 2012 01:00:12 +0000 (20:00 -0500)]
build number

12 years agov0.10.0
Kenneth Reitz [Sun, 22 Jan 2012 00:58:51 +0000 (19:58 -0500)]
v0.10.0

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sat, 21 Jan 2012 22:48:55 +0000 (17:48 -0500)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agoNo encoding? r.text is None.
Kenneth Reitz [Sat, 21 Jan 2012 22:48:51 +0000 (17:48 -0500)]
No encoding? r.text is None.

12 years agoMerge pull request #370 from piotr-dobrogost/develop
Kenneth Reitz [Sat, 21 Jan 2012 13:13:15 +0000 (05:13 -0800)]
Merge pull request #370 from piotr-dobrogost/develop

tiny map() refactoring

12 years agohistory
Kenneth Reitz [Sat, 21 Jan 2012 12:47:46 +0000 (07:47 -0500)]
history

12 years agoMerge branch 'redsea' into develop
Kenneth Reitz [Sat, 21 Jan 2012 12:17:30 +0000 (07:17 -0500)]
Merge branch 'redsea' into develop

12 years agohistory
Kenneth Reitz [Sat, 21 Jan 2012 12:17:23 +0000 (07:17 -0500)]
history

12 years agomove digest to new register_hook
Kenneth Reitz [Sat, 21 Jan 2012 12:14:26 +0000 (07:14 -0500)]
move digest to new register_hook

#372

12 years agoProvide new register_hook system.
Kenneth Reitz [Sat, 21 Jan 2012 12:13:58 +0000 (07:13 -0500)]
Provide new register_hook system.

#372