services/python-requests.git
12 years agoUpdated Requests api to accept a 'cert' argument.
chadnickbok@gmail.com [Thu, 15 Mar 2012 00:15:29 +0000 (17:15 -0700)]
Updated Requests api to accept a 'cert' argument.
This argument can be either a string, containing the path to a
pem-formatted key and certificate chain, or a tuple of (cert, key).

When supplied a tuple, the values are paths to an SSL certificate
chain file and key, respectively.

12 years agoExposed key_file and cert_file in requests, to support https client certificates.
chadnickbok@gmail.com [Wed, 14 Mar 2012 22:57:30 +0000 (15:57 -0700)]
Exposed key_file and cert_file in requests, to support https client certificates.

12 years agoMerge branch 'develop' of github.com:kennethreitz/requests into develop
Idan Gazit [Wed, 14 Mar 2012 00:05:24 +0000 (17:05 -0700)]
Merge branch 'develop' of github.com:kennethreitz/requests into develop

12 years agoRemove unused import
Idan Gazit [Wed, 14 Mar 2012 00:04:26 +0000 (17:04 -0700)]
Remove unused import

12 years agodict sequence
Kenneth Reitz [Tue, 13 Mar 2012 23:42:16 +0000 (16:42 -0700)]
dict sequence

12 years agodict_to_sequence
Kenneth Reitz [Tue, 13 Mar 2012 23:39:51 +0000 (16:39 -0700)]
dict_to_sequence

12 years agoMerge branch 'develop', remote-tracking branch 'upstream/develop' into develop
Idan Gazit [Tue, 13 Mar 2012 19:59:33 +0000 (12:59 -0700)]
Merge branch 'develop', remote-tracking branch 'upstream/develop' into develop

12 years agofurther lies.
Kenneth Reitz [Tue, 13 Mar 2012 03:54:02 +0000 (20:54 -0700)]
further lies.

12 years agoMerge branch 'josh' into develop
Kenneth Reitz [Tue, 13 Mar 2012 03:51:59 +0000 (20:51 -0700)]
Merge branch 'josh' into develop

12 years agolies.
Kenneth Reitz [Tue, 13 Mar 2012 03:46:23 +0000 (20:46 -0700)]
lies.

12 years agocookie history v0.10.8
Kenneth Reitz [Fri, 9 Mar 2012 16:59:12 +0000 (08:59 -0800)]
cookie history

12 years agocatch cookie errors that are prone to failure
Kenneth Reitz [Fri, 9 Mar 2012 16:56:41 +0000 (08:56 -0800)]
catch cookie errors that are prone to failure

12 years agoMerge of maxcountryman
Kenneth Reitz [Fri, 9 Mar 2012 16:51:03 +0000 (08:51 -0800)]
Merge of  maxcountryman

12 years agomerge conflict and fixes for python3
Kenneth Reitz [Fri, 9 Mar 2012 16:43:12 +0000 (08:43 -0800)]
merge conflict and fixes for python3

12 years ago_detected_encoding
Kenneth Reitz [Fri, 9 Mar 2012 16:35:51 +0000 (08:35 -0800)]
_detected_encoding

12 years agoiter_lines py3 compatibility
Kenneth Reitz [Fri, 9 Mar 2012 16:26:12 +0000 (08:26 -0800)]
iter_lines py3 compatibility

#470

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 9 Mar 2012 16:07:17 +0000 (08:07 -0800)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agochunk_size iter_lines
Kenneth Reitz [Fri, 9 Mar 2012 16:07:10 +0000 (08:07 -0800)]
chunk_size iter_lines

12 years agoMerge branch 'iter_lines-fix' of https://github.com/fawek/requests into develop
Kenneth Reitz [Fri, 9 Mar 2012 16:03:20 +0000 (08:03 -0800)]
Merge branch 'iter_lines-fix' of https://github.com/fawek/requests into develop

12 years agoChris Dary
Kenneth Reitz [Fri, 9 Mar 2012 15:59:08 +0000 (07:59 -0800)]
Chris Dary

12 years agoself.config.get('trust_env')
Kenneth Reitz [Fri, 9 Mar 2012 15:58:00 +0000 (07:58 -0800)]
self.config.get('trust_env')

just for @mitsuhiko

12 years agov0.10.8
Kenneth Reitz [Fri, 9 Mar 2012 15:55:54 +0000 (07:55 -0800)]
v0.10.8

12 years agoMerge pull request #475 from umbrae/generate-chunked-valueerror-fix
Kenneth Reitz [Thu, 8 Mar 2012 22:57:58 +0000 (14:57 -0800)]
Merge pull request #475 from umbrae/generate-chunked-valueerror-fix

Generate chunked ValueError fix

12 years agoMove chunked head redirect test to ext
Chris Dary [Thu, 8 Mar 2012 22:44:07 +0000 (14:44 -0800)]
Move chunked head redirect test to ext

12 years agoRemove unnecessary bit from previous branch.
Chris Dary [Thu, 8 Mar 2012 21:22:38 +0000 (13:22 -0800)]
Remove unnecessary bit from previous branch.

This reverts commit e2645826be0449842dcc812e31541c5254c69e05.

12 years agoPotential fix for #436
Chris Dary [Thu, 8 Mar 2012 21:10:18 +0000 (13:10 -0800)]
Potential fix for #436

12 years agoMerge remote-tracking branch 'upstream/develop' into develop
Chris Dary [Thu, 8 Mar 2012 16:19:33 +0000 (08:19 -0800)]
Merge remote-tracking branch 'upstream/develop' into develop

12 years agoFacilitate proxy configuration by environment variables
Johannes Gorset [Thu, 8 Mar 2012 11:38:00 +0000 (12:38 +0100)]
Facilitate proxy configuration by environment variables

12 years agobunk
Kenneth Reitz [Thu, 8 Mar 2012 00:54:53 +0000 (16:54 -0800)]
bunk

12 years agopercent encoded v0.10.7
Kenneth Reitz [Thu, 8 Mar 2012 00:50:02 +0000 (16:50 -0800)]
percent encoded

12 years agodefault encode_uri to True
Kenneth Reitz [Thu, 8 Mar 2012 00:46:15 +0000 (16:46 -0800)]
default encode_uri to True

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Thu, 8 Mar 2012 00:30:30 +0000 (16:30 -0800)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agoencode_uri
Kenneth Reitz [Thu, 8 Mar 2012 00:28:04 +0000 (16:28 -0800)]
encode_uri

12 years agodisablable encode_urls
Kenneth Reitz [Thu, 8 Mar 2012 00:25:46 +0000 (16:25 -0800)]
disablable encode_urls

12 years agomove config around a bit
Kenneth Reitz [Thu, 8 Mar 2012 00:25:27 +0000 (16:25 -0800)]
move config around a bit

12 years agoencode urls setting
Kenneth Reitz [Thu, 8 Mar 2012 00:13:34 +0000 (16:13 -0800)]
encode urls setting

12 years agoConsiderably simplify and fix the iter_lines() function
Jakub Wieczorek [Mon, 5 Mar 2012 17:39:19 +0000 (18:39 +0100)]
Considerably simplify and fix the iter_lines() function

1. Do not use rstrip() as this would also throw away meaningful whitespaces
2. Avoid assuming what striplines() considers a line break terminator,
   the list of those is quite long in Unicode.
3. Add tests for the above edge cases.

12 years agoMerge pull request #466 from maxcountryman/develop
Kenneth Reitz [Thu, 1 Mar 2012 22:21:45 +0000 (14:21 -0800)]
Merge pull request #466 from maxcountryman/develop

fixing a capitalization error in the send() method doc string

12 years agofixing a capitalization error in the send() method doc string
Max Countryman [Thu, 1 Mar 2012 22:20:01 +0000 (17:20 -0500)]
fixing a capitalization error in the send() method doc string

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Tue, 28 Feb 2012 20:21:21 +0000 (15:21 -0500)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agodevelop
Kenneth Reitz [Tue, 28 Feb 2012 20:21:12 +0000 (15:21 -0500)]
develop

12 years agoMerge pull request #464 from brendanmaguire/session_prefetch
Kenneth Reitz [Tue, 28 Feb 2012 20:19:25 +0000 (12:19 -0800)]
Merge pull request #464 from brendanmaguire/session_prefetch

Removed prefetch from args.

12 years agoRemoved prefetch from args.
Brendan Maguire [Tue, 28 Feb 2012 20:16:01 +0000 (20:16 +0000)]
Removed prefetch from args.

12 years agoMerge pull request #463 from brendanmaguire/session_prefetch
Kenneth Reitz [Tue, 28 Feb 2012 20:08:48 +0000 (12:08 -0800)]
Merge pull request #463 from brendanmaguire/session_prefetch

Prefetch for sessions

12 years agoPrefetch for sessions
Brendan Maguire [Tue, 28 Feb 2012 20:02:21 +0000 (20:02 +0000)]
Prefetch for sessions

12 years agoDecode URL to utf-8 before joining.
Chris Dary [Tue, 28 Feb 2012 17:08:37 +0000 (12:08 -0500)]
Decode URL to utf-8 before joining.

To avoid UnicodeDecodeError's like on http://blip.fm/~1abvfu

12 years agomaster build test
Kenneth Reitz [Sun, 26 Feb 2012 16:30:44 +0000 (11:30 -0500)]
master build test

12 years agonose not found :(
Kenneth Reitz [Sun, 26 Feb 2012 15:26:45 +0000 (10:26 -0500)]
nose not found :(

12 years agosimpleci
Kenneth Reitz [Sun, 26 Feb 2012 15:25:26 +0000 (10:25 -0500)]
simpleci

12 years agosimpleci
Kenneth Reitz [Sun, 26 Feb 2012 15:24:48 +0000 (10:24 -0500)]
simpleci

12 years agorudolf the red-nosed reindeer
Kenneth Reitz [Sun, 26 Feb 2012 15:22:47 +0000 (10:22 -0500)]
rudolf the red-nosed reindeer

12 years agov0.10.6 v0.10.6
Kenneth Reitz [Sun, 26 Feb 2012 04:17:45 +0000 (23:17 -0500)]
v0.10.6

12 years agohistory
Kenneth Reitz [Sun, 26 Feb 2012 04:16:08 +0000 (23:16 -0500)]
history

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Sun, 26 Feb 2012 04:15:54 +0000 (23:15 -0500)]
Merge remote-tracking branch 'origin/develop' into develop

12 years ago#452
Kenneth Reitz [Sun, 26 Feb 2012 04:15:33 +0000 (23:15 -0500)]
#452

12 years agoMerge branch 'develop' of https://github.com/honzajavorek/requests into develop
Kenneth Reitz [Sun, 26 Feb 2012 04:14:49 +0000 (23:14 -0500)]
Merge branch 'develop' of https://github.com/honzajavorek/requests into develop

12 years agoMerge pull request #450 from Lukasa/issue_440
Kenneth Reitz [Sun, 26 Feb 2012 04:14:11 +0000 (20:14 -0800)]
Merge pull request #450 from Lukasa/issue_440

Issue #440: Accept '=' in cookie keys.

12 years agourllib3 v1.2.2
Kenneth Reitz [Sun, 26 Feb 2012 04:11:20 +0000 (23:11 -0500)]
urllib3 v1.2.2

12 years agourllib3 release
Kenneth Reitz [Sun, 26 Feb 2012 04:11:06 +0000 (23:11 -0500)]
urllib3 release

12 years agov0.10.5 v0.10.5
Kenneth Reitz [Sun, 26 Feb 2012 04:05:39 +0000 (23:05 -0500)]
v0.10.5

12 years agohurray for passing tests
Kenneth Reitz [Sun, 26 Feb 2012 03:44:46 +0000 (22:44 -0500)]
hurray for passing tests

12 years ago#457
Kenneth Reitz [Sun, 26 Feb 2012 03:40:18 +0000 (22:40 -0500)]
#457

12 years agoMerge branch 'develop' of https://github.com/asciimoo/requests into develop
Kenneth Reitz [Sun, 26 Feb 2012 03:39:29 +0000 (22:39 -0500)]
Merge branch 'develop' of https://github.com/asciimoo/requests into develop

12 years ago[enh] async.imap added -- generator object handling
asciimoo [Sun, 26 Feb 2012 03:04:33 +0000 (04:04 +0100)]
[enh] async.imap added -- generator object handling

12 years agosimplify httpbin stuff
Kenneth Reitz [Sun, 26 Feb 2012 02:57:30 +0000 (21:57 -0500)]
simplify httpbin stuff

12 years agoFix content-length: 0
Kenneth Reitz [Fri, 24 Feb 2012 23:42:33 +0000 (18:42 -0500)]
Fix content-length: 0

#454

12 years agoBuilds??
Kenneth Reitz [Fri, 24 Feb 2012 05:45:17 +0000 (00:45 -0500)]
Builds??

12 years agopython3 fix
Kenneth Reitz [Fri, 24 Feb 2012 05:44:01 +0000 (00:44 -0500)]
python3 fix

12 years agoMerge branch 'master' into develop
Kenneth Reitz [Fri, 24 Feb 2012 04:51:24 +0000 (23:51 -0500)]
Merge branch 'master' into develop

12 years agoi can't believe i'm doing this
Kenneth Reitz [Fri, 24 Feb 2012 03:43:16 +0000 (22:43 -0500)]
i can't believe i'm doing this

12 years agoteh spelling
Kenneth Reitz [Fri, 24 Feb 2012 03:34:17 +0000 (22:34 -0500)]
teh spelling

12 years agono color
Kenneth Reitz [Fri, 24 Feb 2012 03:27:29 +0000 (22:27 -0500)]
no color

12 years agomirrors
Kenneth Reitz [Fri, 24 Feb 2012 03:22:43 +0000 (22:22 -0500)]
mirrors

12 years agoMerge remote-tracking branch 'origin/develop' into develop
Kenneth Reitz [Fri, 24 Feb 2012 03:21:16 +0000 (22:21 -0500)]
Merge remote-tracking branch 'origin/develop' into develop

12 years agotravis ci
Kenneth Reitz [Fri, 24 Feb 2012 03:14:31 +0000 (22:14 -0500)]
travis ci

12 years agostr is redefined in compat module, but was not imported
Honza Javorek [Thu, 23 Feb 2012 22:51:59 +0000 (23:51 +0100)]
str is redefined in compat module, but was not imported

12 years agoget_unicode_from_response returned str instead of unicode
Honza Javorek [Thu, 23 Feb 2012 16:28:56 +0000 (17:28 +0100)]
get_unicode_from_response returned str instead of unicode

12 years agoAccept '=' in cookie keys.
Cory Benfield [Tue, 21 Feb 2012 22:51:38 +0000 (22:51 +0000)]
Accept '=' in cookie keys.

12 years agoMerge pull request #449 from benweatherman/develop
Kenneth Reitz [Tue, 21 Feb 2012 21:55:50 +0000 (13:55 -0800)]
Merge pull request #449 from benweatherman/develop

Don't bonk if .netrc isn't readable

12 years agoDon't bonk if .netrc isn't readable.
Ben [Tue, 21 Feb 2012 21:53:33 +0000 (15:53 -0600)]
Don't bonk if .netrc isn't readable.

It's possible in some shared hosting environments that the .netrc file isn't readable by the user for the calling process. In that circumstance, just forgo the netrc authentication.

12 years agoMerge pull request #447 from gwrtheyrn/patch-1
Kenneth Reitz [Tue, 21 Feb 2012 08:27:16 +0000 (00:27 -0800)]
Merge pull request #447 from gwrtheyrn/patch-1

Added StringIO/Image example to quickstart documentation.

12 years agoAdded StringIO/Image example to quickstart documentation.
Danilo Bargen [Tue, 21 Feb 2012 08:24:52 +0000 (09:24 +0100)]
Added StringIO/Image example to quickstart documentation.

12 years agov0.10.4 v0.10.4
Kenneth Reitz [Mon, 20 Feb 2012 21:21:25 +0000 (16:21 -0500)]
v0.10.4

12 years agoMerge branch 'netrc' into develop
Kenneth Reitz [Mon, 20 Feb 2012 21:20:44 +0000 (16:20 -0500)]
Merge branch 'netrc' into develop

12 years ago.netrc
Kenneth Reitz [Mon, 20 Feb 2012 21:20:07 +0000 (16:20 -0500)]
.netrc

12 years agov0.10.4
Kenneth Reitz [Mon, 20 Feb 2012 21:12:08 +0000 (16:12 -0500)]
v0.10.4

12 years agopython 3 unicode grr
Kenneth Reitz [Mon, 20 Feb 2012 21:07:36 +0000 (16:07 -0500)]
python 3 unicode grr

12 years agonetrc fix
Kenneth Reitz [Mon, 20 Feb 2012 20:43:45 +0000 (15:43 -0500)]
netrc fix

12 years agostick .netrc auth in pipeline
Kenneth Reitz [Mon, 20 Feb 2012 20:43:38 +0000 (15:43 -0500)]
stick .netrc auth in pipeline

12 years agonetrc parsing
Kenneth Reitz [Mon, 20 Feb 2012 20:35:19 +0000 (15:35 -0500)]
netrc parsing

12 years agospacing
Kenneth Reitz [Mon, 20 Feb 2012 20:35:02 +0000 (15:35 -0500)]
spacing

12 years agohistory for HEAD 3xx v0.10.3
Kenneth Reitz [Mon, 20 Feb 2012 19:02:13 +0000 (14:02 -0500)]
history for HEAD 3xx

12 years agoHEADs don't follow redirects by default.
Kenneth Reitz [Mon, 20 Feb 2012 18:56:11 +0000 (13:56 -0500)]
HEADs don't follow redirects by default.

12 years agodanger_mode redirect test
Kenneth Reitz [Mon, 20 Feb 2012 18:51:46 +0000 (13:51 -0500)]
danger_mode redirect test

12 years ago100k times
Kenneth Reitz [Mon, 20 Feb 2012 18:49:29 +0000 (13:49 -0500)]
100k times

12 years agov0.10.3
Kenneth Reitz [Mon, 20 Feb 2012 18:49:06 +0000 (13:49 -0500)]
v0.10.3

12 years agoallow 3XX in danger_mode
Kenneth Reitz [Mon, 20 Feb 2012 18:46:54 +0000 (13:46 -0500)]
allow 3XX in danger_mode

12 years agodon't raise for redirects if they're not allowed
Kenneth Reitz [Mon, 20 Feb 2012 18:40:55 +0000 (13:40 -0500)]
don't raise for redirects if they're not allowed

12 years agono more SOPA
Kenneth Reitz [Mon, 20 Feb 2012 17:39:25 +0000 (12:39 -0500)]
no more SOPA

12 years agonone headers test
Kenneth Reitz [Mon, 20 Feb 2012 17:31:52 +0000 (12:31 -0500)]
none headers test

#433