services/python-requests.git
10 years agoassert connect timeout inheritance
Kevin Burke [Mon, 25 Aug 2014 03:18:05 +0000 (20:18 -0700)]
assert connect timeout inheritance

10 years agoConnectTimeout multiple inheritance
Kevin Burke [Mon, 25 Aug 2014 02:56:57 +0000 (19:56 -0700)]
ConnectTimeout multiple inheritance

10 years agorevert change
Kevin Burke [Mon, 25 Aug 2014 02:46:46 +0000 (19:46 -0700)]
revert change

10 years agoAdd support for connect timeouts
Kevin Burke [Sat, 23 Aug 2014 18:52:51 +0000 (11:52 -0700)]
Add support for connect timeouts

Modifies the timeout interface to also accept a tuple (connect, read) which
would be used to set individual connect and read timeouts for Requests. Adds
Advanced documentation explaining the interface and providing guidance for
timeout values.

10 years agoMerge pull request #2172 from ContinuousFunction/master
Kenneth Reitz [Fri, 22 Aug 2014 13:04:50 +0000 (09:04 -0400)]
Merge pull request #2172 from ContinuousFunction/master

Add to authors and fix case

10 years agoCleanup grammar from previous commit.
Cory Benfield [Fri, 22 Aug 2014 10:50:37 +0000 (11:50 +0100)]
Cleanup grammar from previous commit.

10 years agoMerge pull request #2173 from tychotatitscheff/master
Cory Benfield [Fri, 22 Aug 2014 10:47:35 +0000 (11:47 +0100)]
Merge pull request #2173 from tychotatitscheff/master

Documentation update : connection keep alive

10 years agoDocumentation update : connection keep alive
tat3657 [Fri, 22 Aug 2014 08:39:05 +0000 (10:39 +0200)]
Documentation update : connection keep alive

10 years agoAdding my name to authors
ContinuousFunction [Thu, 21 Aug 2014 18:25:29 +0000 (11:25 -0700)]
Adding my name to authors

10 years agoAdding myself to authors.
ContinuousFunction [Thu, 21 Aug 2014 18:16:59 +0000 (11:16 -0700)]
Adding myself to authors.

10 years agoAdding my name to authors.
ContinuousFunction [Thu, 21 Aug 2014 18:12:36 +0000 (11:12 -0700)]
Adding my name to authors.

10 years agoAdded space and sentence case
ContinuousFunction [Thu, 21 Aug 2014 18:05:02 +0000 (11:05 -0700)]
Added space and sentence case

Added space and sentence case as requested by sigmavirus24.
https://github.com/kennethreitz/requests/pull/2168

10 years agoMerge pull request #2168 from ContinuousFunction/master
Kenneth Reitz [Thu, 21 Aug 2014 17:43:23 +0000 (13:43 -0400)]
Merge pull request #2168 from ContinuousFunction/master

Tracking Previous Requests

10 years agoUpdate on Tracking Previous Requests
ContinuousFunction [Tue, 19 Aug 2014 17:51:26 +0000 (10:51 -0700)]
Update on Tracking Previous Requests

Modified the comment in sessions.py and rewrote the test in
test_requests.py

10 years ago21m
Kenneth Reitz [Tue, 19 Aug 2014 16:53:26 +0000 (12:53 -0400)]
21m

10 years agoTracking Previous Requests
ContinuousFunction [Mon, 18 Aug 2014 02:13:26 +0000 (19:13 -0700)]
Tracking Previous Requests

Addresses the issue brought up here:
https://github.com/kennethreitz/requests/issues/1929

10 years agoMerge pull request #2153 from jschneier/master
Kenneth Reitz [Sat, 2 Aug 2014 01:33:55 +0000 (21:33 -0400)]
Merge pull request #2153 from jschneier/master

handle urllib3 api changes; closes #2045

10 years agohandle urllib3 api changes; closes #2045
Josh Schneier [Wed, 30 Jul 2014 03:27:38 +0000 (23:27 -0400)]
handle urllib3 api changes; closes #2045

10 years agoMerge pull request #2148 from romanlevin/handle-socket-error-in-iter_content
Kenneth Reitz [Sun, 27 Jul 2014 13:59:08 +0000 (09:59 -0400)]
Merge pull request #2148 from romanlevin/handle-socket-error-in-iter_content

Handle socket errors in iter_content

10 years agoReplace setattr
Roman Levin [Thu, 24 Jul 2014 21:30:11 +0000 (23:30 +0200)]
Replace setattr

10 years agoHandle socket errors in iter_content
Roman Levin [Thu, 24 Jul 2014 21:00:50 +0000 (23:00 +0200)]
Handle socket errors in iter_content

10 years agoMerge pull request #2142 from sigmavirus24/urllib3-1.9
Kenneth Reitz [Tue, 22 Jul 2014 20:21:05 +0000 (16:21 -0400)]
Merge pull request #2142 from sigmavirus24/urllib3-1.9

Upgrade urllib3 to 1.9.x

10 years agoMerge pull request #2145 from TkTech/patch-1
Kenneth Reitz [Tue, 22 Jul 2014 20:20:37 +0000 (16:20 -0400)]
Merge pull request #2145 from TkTech/patch-1

Update faq.rst

10 years agoUpdate faq.rst
Tyler Kennedy [Tue, 22 Jul 2014 17:10:40 +0000 (13:10 -0400)]
Update faq.rst

Revised wording based on feedback from @sigmavirus24

10 years agoUpdate faq.rst
Tyler Kennedy [Tue, 22 Jul 2014 16:38:08 +0000 (12:38 -0400)]
Update faq.rst

Removed an unnecessary "to" in the "What are "hostname doesn't match" errors?" section.

10 years agoMerge pull request #2140 from dpursehouse/linkify-usernames
Cory Benfield [Tue, 22 Jul 2014 06:57:25 +0000 (07:57 +0100)]
Merge pull request #2140 from dpursehouse/linkify-usernames

Linkify Github usernames in authors list

10 years agoFix test bug courtesy of @shazow
Ian Cordasco [Mon, 21 Jul 2014 20:00:14 +0000 (15:00 -0500)]
Fix test bug courtesy of @shazow

10 years agoUpgrade urllib3 to 1.9.x
Ian Cordasco [Mon, 21 Jul 2014 18:37:10 +0000 (13:37 -0500)]
Upgrade urllib3 to 1.9.x

10 years agoMerge pull request #2141 from esparta/master
Cory Benfield [Fri, 18 Jul 2014 20:17:43 +0000 (21:17 +0100)]
Merge pull request #2141 from esparta/master

Docs: Using print() function instead print command on advanced & quickstart

10 years agoDocs: Using print() function instead print command on advanced & quickstart user...
Espartaco Palma [Fri, 18 Jul 2014 16:44:57 +0000 (11:44 -0500)]
Docs: Using print() function instead print command on advanced & quickstart user docs

10 years agoAdd links to Twitter accounts
David Pursehouse [Fri, 18 Jul 2014 13:46:19 +0000 (22:46 +0900)]
Add links to Twitter accounts

Change-Id: Ic88eb128384b3cc9108151c219cd759c7524a4f1

10 years agoMerge pull request #2139 from dpursehouse/line-wrapping
Cory Benfield [Fri, 18 Jul 2014 09:59:48 +0000 (10:59 +0100)]
Merge pull request #2139 from dpursehouse/line-wrapping

More line wrapping

10 years agoLinkify Github usernames in authors list
David Pursehouse [Fri, 18 Jul 2014 07:48:22 +0000 (16:48 +0900)]
Linkify Github usernames in authors list

- Linkify github usernames
- Remove usernames that do not exist

Change-Id: Ib88b70a3010e915b3570ae5062c8cb416c9a6462

10 years agoMore line wrapping
David Pursehouse [Fri, 18 Jul 2014 07:35:54 +0000 (16:35 +0900)]
More line wrapping

Change-Id: I950c3da727fb97b58d96a872b0d2ed718cc60ba8

10 years agoMerge pull request #2138 from dpursehouse/more-doc-updates
Cory Benfield [Fri, 18 Jul 2014 07:24:27 +0000 (08:24 +0100)]
Merge pull request #2138 from dpursehouse/more-doc-updates

More doc updates

10 years agoRemove empty 'internals' page
David Pursehouse [Fri, 18 Jul 2014 06:19:32 +0000 (15:19 +0900)]
Remove empty 'internals' page

The file is empty and not linked from anywhere, resulting in
a warning when building the docs.

Change-Id: Ib995d094ef525496fe8b2a369e0a0c5b4c7bd2dd

10 years agoRemove redundant sentence from quickstart introduction
David Pursehouse [Fri, 18 Jul 2014 06:18:20 +0000 (15:18 +0900)]
Remove redundant sentence from quickstart introduction

Change-Id: Ic03aa394941367745f3148d299b5313849f77051

10 years agoFix a couple more malformed :meth: and :class: links
David Pursehouse [Fri, 18 Jul 2014 06:03:29 +0000 (15:03 +0900)]
Fix a couple more malformed :meth: and :class: links

Change-Id: Ie38844a40ec7a483e6ce5e56077be344242bcd99

10 years agoAdd authentication classes to the API document
David Pursehouse [Fri, 18 Jul 2014 06:15:41 +0000 (15:15 +0900)]
Add authentication classes to the API document

Change-Id: Ic1464f246602b809f3c29fbafd6f36b747d5d5df

10 years agoMerge pull request #2136 from dpursehouse/greenfeld-not-greenfield
Ian Cordasco [Wed, 16 Jul 2014 12:14:36 +0000 (07:14 -0500)]
Merge pull request #2136 from dpursehouse/greenfeld-not-greenfield

Fix name misspelling

10 years agoFix name misspelling
David Pursehouse [Wed, 16 Jul 2014 06:13:11 +0000 (15:13 +0900)]
Fix name misspelling

Change-Id: Ied3e600e5673eff48558b634b3c2616d13a3337b

10 years agoMerge pull request #2135 from dpursehouse/fix-meth-and-class-directives
Cory Benfield [Wed, 16 Jul 2014 05:36:40 +0000 (06:36 +0100)]
Merge pull request #2135 from dpursehouse/fix-meth-and-class-directives

Docs: Fix :class: and :meth: directives

10 years agoDocs: Fix :class: and :meth: directives
David Pursehouse [Wed, 16 Jul 2014 01:40:16 +0000 (10:40 +0900)]
Docs: Fix :class: and :meth: directives

A few instances of the directives were malformed and did not
result in hyperlinks in the generated HTML.

Change-Id: I94d93de928ee4ff24a48797baf2ac77598a20704

10 years agoMerge pull request #2134 from nonZero/patch-1
Ian Cordasco [Tue, 15 Jul 2014 17:13:09 +0000 (12:13 -0500)]
Merge pull request #2134 from nonZero/patch-1

removed unneeded parentheses from if clause

10 years agoMerge pull request #2133 from esparta/master
Ian Cordasco [Tue, 15 Jul 2014 17:12:49 +0000 (12:12 -0500)]
Merge pull request #2133 from esparta/master

Update link to pip site on docs/user/install.rst

10 years agoremoved unneeded parentheses from if clause
Udi Oron [Tue, 15 Jul 2014 16:56:47 +0000 (19:56 +0300)]
removed unneeded parentheses from if clause

10 years agoMerge pull request #2131 from dpursehouse/quickstart-doc-updates
Cory Benfield [Tue, 15 Jul 2014 10:40:28 +0000 (11:40 +0100)]
Merge pull request #2131 from dpursehouse/quickstart-doc-updates

Quickstart doc updates

10 years agoRestructure "Redirection and History" section in quickstart documentation
David Pursehouse [Tue, 15 Jul 2014 09:26:51 +0000 (18:26 +0900)]
Restructure "Redirection and History" section in quickstart documentation

Change-Id: Ida38d551e8cd0edaeb92d09de411a6f4a3d0578b

10 years agoMinor tidy-ups in quickstart documentation
David Pursehouse [Tue, 15 Jul 2014 09:26:30 +0000 (18:26 +0900)]
Minor tidy-ups in quickstart documentation

Change-Id: Ia862c17707a2a76182c549db88821636e8402729

10 years agoAdd Timeout exception in API documentation
David Pursehouse [Tue, 15 Jul 2014 09:23:52 +0000 (18:23 +0900)]
Add Timeout exception in API documentation

The Timeout exception is referenced from quickstart.rst but does
not get hyperlinked.

Change-Id: I69ad881bf9d2475c6239ac7b17f68ddbce0d03cd

10 years agoMerge pull request #2130 from dpursehouse/doc-index-updates
Cory Benfield [Tue, 15 Jul 2014 08:57:47 +0000 (09:57 +0100)]
Merge pull request #2130 from dpursehouse/doc-index-updates

Doc index updates

10 years agoDocumentation: Add Sony to list of users
David Pursehouse [Tue, 15 Jul 2014 08:48:23 +0000 (17:48 +0900)]
Documentation: Add Sony to list of users

Change-Id: I0568f27562e5d12f7e5e528b216ca1b1e9cd8256

10 years agoDocumentation: Wrap lines in index.rst
David Pursehouse [Tue, 15 Jul 2014 08:45:09 +0000 (17:45 +0900)]
Documentation: Wrap lines in index.rst

Wrap lines at 80 characters where possible.

Change-Id: Ib254734a7a18b62f965577c368929058258b489f

10 years agoMerge pull request #2128 from tshepang/patch-1
Ian Cordasco [Mon, 14 Jul 2014 14:39:19 +0000 (09:39 -0500)]
Merge pull request #2128 from tshepang/patch-1

Fix broken link

10 years agoFix broken link
Tshepang Lekhonkhobe [Mon, 14 Jul 2014 14:13:23 +0000 (16:13 +0200)]
Fix broken link

10 years agoMerge pull request #2124 from Lukasa/certifi
Kenneth Reitz [Fri, 11 Jul 2014 17:30:07 +0000 (13:30 -0400)]
Merge pull request #2124 from Lukasa/certifi

Depend on certifi

10 years agoInstall certifi with requests.
Cory Benfield [Thu, 10 Jul 2014 20:49:31 +0000 (21:49 +0100)]
Install certifi with requests.

10 years agoPreferentially use certifi to requests.
Cory Benfield [Thu, 10 Jul 2014 20:49:16 +0000 (21:49 +0100)]
Preferentially use certifi to requests.

10 years agoUpdate link to pip site on docs/user/install.rst
Espartaco Palma [Fri, 4 Jul 2014 16:42:56 +0000 (11:42 -0500)]
Update link to pip site on docs/user/install.rst

10 years agoMerge pull request #2115 from sigmavirus24/fix-2092
Kenneth Reitz [Thu, 3 Jul 2014 13:35:55 +0000 (09:35 -0400)]
Merge pull request #2115 from sigmavirus24/fix-2092

Update how we check verify when inspecting env variables

10 years agoFix silly check
Ian Cordasco [Wed, 2 Jul 2014 15:42:00 +0000 (10:42 -0500)]
Fix silly check

10 years agoMerge pull request #2116 from sigmavirus24/fix-2107
Cory Benfield [Wed, 2 Jul 2014 15:41:14 +0000 (16:41 +0100)]
Merge pull request #2116 from sigmavirus24/fix-2107

Replace dead link with StackOverflow answer

10 years agoReplace dead link with StackOverflow answer
Ian Cordasco [Wed, 2 Jul 2014 15:34:25 +0000 (10:34 -0500)]
Replace dead link with StackOverflow answer

10 years agoUpdate how we check verify when inspecting env variables
Ian Cordasco [Wed, 2 Jul 2014 15:26:15 +0000 (10:26 -0500)]
Update how we check verify when inspecting env variables

10 years agoMerge pull request #2112 from np-csu/patch-1
Ian Cordasco [Sun, 29 Jun 2014 13:31:23 +0000 (08:31 -0500)]
Merge pull request #2112 from np-csu/patch-1

Update quickstart.rst

10 years agoUpdate quickstart.rst
np-csu [Sun, 29 Jun 2014 13:05:04 +0000 (21:05 +0800)]
Update quickstart.rst

line 394: correct an input error.

10 years agoMerge pull request #2049 from codedstructure/adapter-proxy_manager_for
Kenneth Reitz [Mon, 23 Jun 2014 19:11:13 +0000 (12:11 -0700)]
Merge pull request #2049 from codedstructure/adapter-proxy_manager_for

Separated out proxy_manager_for to fix #2048

11 years agoMerge pull request #2097 from bkerensa/patch-1
Cory Benfield [Sun, 15 Jun 2014 08:19:34 +0000 (09:19 +0100)]
Merge pull request #2097 from bkerensa/patch-1

Update out-there.rst

11 years agoUpdate out-there.rst
Benjamin Kerensa [Sun, 15 Jun 2014 07:10:09 +0000 (00:10 -0700)]
Update out-there.rst

Remove french blog post which is now a deadlink.

11 years agoMerge pull request #2095 from ericfrederich/redirect_cache
Kenneth Reitz [Thu, 12 Jun 2014 18:42:41 +0000 (14:42 -0400)]
Merge pull request #2095 from ericfrederich/redirect_cache

Redirect cache

11 years agoMerge branch 'master' into redirect_cache
Eric L Frederich [Thu, 12 Jun 2014 12:25:33 +0000 (08:25 -0400)]
Merge branch 'master' into redirect_cache

11 years agodon't make duplicate requests for permanent redirects
Eric L Frederich [Thu, 12 Jun 2014 12:25:21 +0000 (08:25 -0400)]
don't make duplicate requests for permanent redirects

11 years agoMerge pull request #2090 from ericfrederich/fix_308
Kenneth Reitz [Thu, 12 Jun 2014 04:19:44 +0000 (00:19 -0400)]
Merge pull request #2090 from ericfrederich/fix_308

handle 308 redirection the same as 301 and 302

11 years agoUpdate index.rst
Kenneth Reitz [Wed, 11 Jun 2014 20:40:23 +0000 (16:40 -0400)]
Update index.rst

11 years agoRe-add resume to not break existing apps
Eric L Frederich [Wed, 11 Jun 2014 17:27:36 +0000 (13:27 -0400)]
Re-add resume to not break existing apps
as requested by Cory Benfield

11 years agorename resume/resume_incomplete to permanent_redirect according to rfc7238
Eric L Frederich [Wed, 11 Jun 2014 15:08:10 +0000 (11:08 -0400)]
rename resume/resume_incomplete to permanent_redirect according to rfc7238

Use temporary_redirect intead of temporary_moved to make the words
line up nicely ;-)

11 years agohandle 308 redirection the same as 301 and 302
Eric L Frederich [Tue, 10 Jun 2014 20:30:17 +0000 (16:30 -0400)]
handle 308 redirection the same as 301 and 302

11 years agoMerge pull request #2088 from jeffknupp/master
Kenneth Reitz [Tue, 10 Jun 2014 16:02:21 +0000 (12:02 -0400)]
Merge pull request #2088 from jeffknupp/master

various pep-8 cleanups; remove unsused imports; remove unused variables

11 years agoUpdate with style considerations by @kennethreitz
Jeff Knupp [Tue, 10 Jun 2014 15:16:24 +0000 (11:16 -0400)]
Update with style considerations by @kennethreitz

11 years agovarious pep-8 cleanups; remove unsused imports; remove unused variables
Jeff Knupp [Tue, 10 Jun 2014 13:06:22 +0000 (09:06 -0400)]
various pep-8 cleanups; remove unsused imports; remove unused variables

11 years agoMerge pull request #2076 from Lukasa/basic
Kenneth Reitz [Mon, 9 Jun 2014 14:53:23 +0000 (10:53 -0400)]
Merge pull request #2076 from Lukasa/basic

Basic Auth handler sets unicode header value on Python 2

11 years agoMerge pull request #2087 from Lukasa/2616
Ian Cordasco [Sun, 8 Jun 2014 14:44:26 +0000 (09:44 -0500)]
Merge pull request #2087 from Lukasa/2616

Update trivial mentions to RFC 2616.

11 years agoindentation change for code review
Ben Bass [Sun, 8 Jun 2014 14:23:37 +0000 (15:23 +0100)]
indentation change for code review

11 years agoAvoid unnecessary encode/decode cycles.
Cory Benfield [Sun, 8 Jun 2014 09:28:26 +0000 (10:28 +0100)]
Avoid unnecessary encode/decode cycles.

11 years agoForce basic auth strings to native string type
Cory Benfield [Sun, 8 Jun 2014 09:20:32 +0000 (10:20 +0100)]
Force basic auth strings to native string type

11 years agoUpdate trivial mentions to RFC 2616.
Cory Benfield [Sat, 7 Jun 2014 08:53:12 +0000 (09:53 +0100)]
Update trivial mentions to RFC 2616.

11 years agov2.3.1 changelog
Kenneth Reitz [Fri, 30 May 2014 17:36:18 +0000 (13:36 -0400)]
v2.3.1 changelog

11 years agoMerge pull request #2078 from dgouldin/2077
Kenneth Reitz [Fri, 30 May 2014 17:33:29 +0000 (13:33 -0400)]
Merge pull request #2078 from dgouldin/2077

Allow copying of PreparedRequests without headers/cookies

11 years agoAllow copying of PreparedRequests without headers/cookies
David Gouldin [Fri, 30 May 2014 17:11:53 +0000 (10:11 -0700)]
Allow copying of PreparedRequests without headers/cookies

11 years agoMerge pull request #2072 from sigmavirus24/fix-urlencoded-bytes
Kenneth Reitz [Thu, 29 May 2014 14:39:42 +0000 (10:39 -0400)]
Merge pull request #2072 from sigmavirus24/fix-urlencoded-bytes

Check for basestring, not just str

11 years agoMerge pull request #2074 from Lukasa/filedoc
Cory Benfield [Wed, 28 May 2014 16:01:10 +0000 (17:01 +0100)]
Merge pull request #2074 from Lukasa/filedoc

Ensure that we open files in binary mode in the docs.

11 years agoEnsure that we open files in binary mode.
Cory Benfield [Wed, 28 May 2014 15:59:57 +0000 (16:59 +0100)]
Ensure that we open files in binary mode.

11 years agoRemove unnecessary check for builtin_str
Ian Cordasco [Wed, 28 May 2014 13:17:18 +0000 (08:17 -0500)]
Remove unnecessary check for builtin_str

11 years agoCheck for basestring, not just str
Ian Cordasco [Wed, 28 May 2014 01:29:44 +0000 (20:29 -0500)]
Check for basestring, not just str

Fixes #2071

11 years agoMerge pull request #2059 from jschneier/master
Kenneth Reitz [Tue, 27 May 2014 15:28:11 +0000 (11:28 -0400)]
Merge pull request #2059 from jschneier/master

remove unused IteratorProxy

11 years agoMerge pull request #2064 from mgeisler/simplejson-syntax-error-import
Kenneth Reitz [Tue, 27 May 2014 15:25:54 +0000 (11:25 -0400)]
Merge pull request #2064 from mgeisler/simplejson-syntax-error-import

compat: handle SyntaxError when importing simplejson

11 years agoMerge pull request #2065 from mgeisler/tox
Kenneth Reitz [Tue, 27 May 2014 15:24:47 +0000 (11:24 -0400)]
Merge pull request #2065 from mgeisler/tox

Fix Python 3.2 compatibility in tests

11 years agoMerge pull request #2069 from Lukasa/request
Kenneth Reitz [Tue, 27 May 2014 15:11:21 +0000 (11:11 -0400)]
Merge pull request #2069 from Lukasa/request

Document and initialise Response.request

11 years agoDocument and initialise Response.request
Cory Benfield [Mon, 26 May 2014 15:40:45 +0000 (16:40 +0100)]
Document and initialise Response.request

11 years agotest: restore Python 3.2 compatibility
Martin Geisler [Sun, 25 May 2014 22:31:10 +0000 (00:31 +0200)]
test: restore Python 3.2 compatibility

The tests were broken because they used the u'...' Unicode literal
syntax which disappeared in Python 3.0 to 3.2.

We can work around this by conditionally defining a "u" function which
will produce a Unicode literal on Python 2.x. This is basically the
same approach as taken by the six library often used for writing
cross-version compatible code.