services/python-requests.git
10 years agoAdded example of how to send multiple files in one request.
Martin Jul [Tue, 16 Sep 2014 09:38:40 +0000 (11:38 +0200)]
Added example of how to send multiple files in one request.

10 years agoMerge pull request #2223 from blueyed/doc-followup-2222
Ian Cordasco [Fri, 12 Sep 2014 16:54:40 +0000 (11:54 -0500)]
Merge pull request #2223 from blueyed/doc-followup-2222

Document skipping in PreparedRequest; followup to #2222

10 years agoDocument skipping in PreparedRequest; followup to #2222
Daniel Hahler [Fri, 12 Sep 2014 15:13:43 +0000 (17:13 +0200)]
Document skipping in PreparedRequest; followup to #2222

10 years agoMerge pull request #2222 from blueyed/fix-MissingScheme-for-hostport
Cory Benfield [Fri, 12 Sep 2014 14:16:11 +0000 (15:16 +0100)]
Merge pull request #2222 from blueyed/fix-MissingScheme-for-hostport

Add tests to test_invalid_url for `InvalidSchema`

10 years agoAdd more tests to `test_invalid_url`
Daniel Hahler [Fri, 12 Sep 2014 01:10:54 +0000 (03:10 +0200)]
Add more tests to `test_invalid_url`

This adds tests for the behavior introduced in b149be5d, where
`PreparedRequest` was made to skip `parse_url` for e.g.
`localhost:3128/`.

10 years agolawl
Kenneth Reitz [Tue, 9 Sep 2014 16:42:00 +0000 (12:42 -0400)]
lawl

10 years agomils
Kenneth Reitz [Tue, 9 Sep 2014 16:39:36 +0000 (12:39 -0400)]
mils

10 years agorequests v2.4.1 v2.4.1
Kenneth Reitz [Tue, 9 Sep 2014 16:34:34 +0000 (12:34 -0400)]
requests v2.4.1

10 years agoMerge pull request #2210 from sigmavirus24/bug/2207
Cory Benfield [Tue, 9 Sep 2014 14:24:24 +0000 (15:24 +0100)]
Merge pull request #2210 from sigmavirus24/bug/2207

Fix #2207

10 years agoMerge pull request #2213 from kennethreitz/req-rsp
Cory Benfield [Tue, 9 Sep 2014 07:45:30 +0000 (08:45 +0100)]
Merge pull request #2213 from kennethreitz/req-rsp

Request->Response.

10 years agoRequest->Response.
Cory Benfield [Tue, 9 Sep 2014 07:44:40 +0000 (08:44 +0100)]
Request->Response.

10 years agoFix #2207
Ian Cordasco [Sun, 7 Sep 2014 17:02:23 +0000 (12:02 -0500)]
Fix #2207

@Lukasa wrote the fix in #2207

10 years agoMerge pull request #2203 from Lukasa/remove_certifi
Kenneth Reitz [Fri, 5 Sep 2014 15:11:57 +0000 (08:11 -0700)]
Merge pull request #2203 from Lukasa/remove_certifi

Remove hard certifi dependency and document.

10 years agoLink to Mozilla trust store.
Cory Benfield [Thu, 4 Sep 2014 18:44:37 +0000 (19:44 +0100)]
Link to Mozilla trust store.

10 years agoMerge pull request #2199 from mtorromeo/patch-1
Kenneth Reitz [Thu, 4 Sep 2014 18:41:46 +0000 (11:41 -0700)]
Merge pull request #2199 from mtorromeo/patch-1

Open README and HISTORY as utf-8 encoded files (fixes #2196)

10 years agoRemove hard certifi dependency and document.
Cory Benfield [Thu, 4 Sep 2014 18:40:15 +0000 (19:40 +0100)]
Remove hard certifi dependency and document.

10 years agoMerge pull request #2193 from sigmavirus24/bug/2192
Kenneth Reitz [Thu, 4 Sep 2014 18:39:41 +0000 (11:39 -0700)]
Merge pull request #2193 from sigmavirus24/bug/2192

Capture and re-raise urllib3 ProtocolError

10 years agoMerge pull request #2191 from kevinburke/comma
Kenneth Reitz [Thu, 4 Sep 2014 18:39:23 +0000 (11:39 -0700)]
Merge pull request #2191 from kevinburke/comma

add trailing comma

10 years agoMerge pull request #2187 from kevinburke/more-docs
Kenneth Reitz [Thu, 4 Sep 2014 18:39:12 +0000 (11:39 -0700)]
Merge pull request #2187 from kevinburke/more-docs

Document Timeout behaviour

10 years agorequests[security]
Kenneth Reitz [Thu, 4 Sep 2014 18:37:45 +0000 (11:37 -0700)]
requests[security]

10 years agoMerge pull request #2195 from sigmavirus24/betterssl
Kenneth Reitz [Thu, 4 Sep 2014 18:36:56 +0000 (11:36 -0700)]
Merge pull request #2195 from sigmavirus24/betterssl

Add betterssl extra

10 years agoConsolidate error handling
Ian Cordasco [Wed, 3 Sep 2014 21:01:25 +0000 (16:01 -0500)]
Consolidate error handling

10 years agoOpen README and HISTORY as utf-8 encoded files (fixes #2196)
Massimiliano Torromeo [Wed, 3 Sep 2014 07:40:27 +0000 (09:40 +0200)]
Open README and HISTORY as utf-8 encoded files (fixes #2196)

10 years agoAdd test for invalid port
Ian Cordasco [Fri, 29 Aug 2014 21:50:45 +0000 (16:50 -0500)]
Add test for invalid port

10 years agoMerge remote-tracking branch 'kevinburke/domain-failure-connection-error' into bug...
Ian Cordasco [Fri, 29 Aug 2014 21:43:51 +0000 (16:43 -0500)]
Merge remote-tracking branch 'kevinburke/domain-failure-connection-error' into bug/2192

10 years agoAdd betterssl extra
Ian Cordasco [Fri, 29 Aug 2014 21:39:22 +0000 (16:39 -0500)]
Add betterssl extra

10 years agoAdd test that invalid domain raises a ConnectionError
Kevin Burke [Fri, 29 Aug 2014 21:07:28 +0000 (14:07 -0700)]
Add test that invalid domain raises a ConnectionError

10 years agoCapture and re-raise urllib3 ProtocolError
Ian Cordasco [Fri, 29 Aug 2014 20:16:30 +0000 (15:16 -0500)]
Capture and re-raise urllib3 ProtocolError

10 years agotildes
Kevin Burke [Fri, 29 Aug 2014 19:08:03 +0000 (12:08 -0700)]
tildes

10 years agoadd trailing comma
Kevin Burke [Fri, 29 Aug 2014 19:06:58 +0000 (12:06 -0700)]
add trailing comma

10 years agos/behavior/behaviour
Kevin Burke [Fri, 29 Aug 2014 18:51:09 +0000 (11:51 -0700)]
s/behavior/behaviour

10 years agoDocument Timeout behaviour
Kevin Burke [Fri, 29 Aug 2014 18:33:46 +0000 (11:33 -0700)]
Document Timeout behaviour

10 years agov2.4.0 changelog v2.4.0
Kenneth Reitz [Fri, 29 Aug 2014 14:32:18 +0000 (10:32 -0400)]
v2.4.0 changelog

10 years agoRevert "Documentation update : connection keep alive"
Kenneth Reitz [Fri, 29 Aug 2014 14:30:49 +0000 (10:30 -0400)]
Revert "Documentation update : connection keep alive"

This reverts commit 1b2602344fe783c5422602ff5f7d03bf7928c0f3.

Conflicts:
docs/user/advanced.rst

10 years ago3.4 classifier
Kenneth Reitz [Thu, 28 Aug 2014 17:10:26 +0000 (13:10 -0400)]
3.4 classifier

10 years agokeep-alive
Kenneth Reitz [Thu, 28 Aug 2014 17:05:30 +0000 (13:05 -0400)]
keep-alive

10 years agov2.4.0
Kenneth Reitz [Thu, 28 Aug 2014 17:05:23 +0000 (13:05 -0400)]
v2.4.0

10 years agoMerge pull request #2178 from sigmavirus24/env-retrieval
Kenneth Reitz [Tue, 26 Aug 2014 19:44:51 +0000 (15:44 -0400)]
Merge pull request #2178 from sigmavirus24/env-retrieval

Add Session method to merge environment settings with per-request settings

10 years agoMerge pull request #2183 from Lukasa/docupdate
Kenneth Reitz [Tue, 26 Aug 2014 19:41:44 +0000 (15:41 -0400)]
Merge pull request #2183 from Lukasa/docupdate

Fix #2180.

10 years agoRemove timeline.json from docs.
Cory Benfield [Tue, 26 Aug 2014 19:20:34 +0000 (20:20 +0100)]
Remove timeline.json from docs.

10 years agoUpdate verify check and doc-string
Ian Cordasco [Sun, 24 Aug 2014 14:54:56 +0000 (09:54 -0500)]
Update verify check and doc-string

10 years agoAdd Session method to merge environment settings with per-request settings
Ian Cordasco [Sat, 23 Aug 2014 20:50:15 +0000 (15:50 -0500)]
Add Session method to merge environment settings with per-request settings

10 years agoMerge pull request #2174 from kevinburke/test-clarification
Kenneth Reitz [Tue, 26 Aug 2014 19:15:28 +0000 (15:15 -0400)]
Merge pull request #2174 from kevinburke/test-clarification

Clarify which tests to run in the Makefile

10 years agoMerge pull request #2176 from kevinburke/connect
Kenneth Reitz [Tue, 26 Aug 2014 19:13:30 +0000 (15:13 -0400)]
Merge pull request #2176 from kevinburke/connect

Add support for connect timeouts

10 years agoMerge pull request #2179 from kevinburke/urllib3-pypy-ssl
Kenneth Reitz [Tue, 26 Aug 2014 19:10:51 +0000 (15:10 -0400)]
Merge pull request #2179 from kevinburke/urllib3-pypy-ssl

Updates urllib3 to 528ad3c

10 years agoUpdates urllib3 to 528ad3c
Kevin Burke [Mon, 25 Aug 2014 20:44:29 +0000 (13:44 -0700)]
Updates urllib3 to 528ad3c

This includes fixes for openssl running with Pypy, so SSL connections can be
made if ndg-httpsclient, pyopenssl and pyasn1 are installed.

see also:

- https://github.com/shazow/urllib3/issues/449
- https://github.com/pypa/pip/issues/1988

10 years agowoops
Kevin Burke [Mon, 25 Aug 2014 03:22:55 +0000 (20:22 -0700)]
woops

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 agoclarify comment
Kevin Burke [Sat, 23 Aug 2014 17:10:44 +0000 (10:10 -0700)]
clarify comment

10 years agoClarify which tests to run in the Makefile
Kevin Burke [Sat, 23 Aug 2014 17:02:27 +0000 (10:02 -0700)]
Clarify which tests to run in the Makefile

If you put your Virtualenv in the same folder as Requests (as I
usually do), py.test will pick up any test_* files inside the
virtualenv and attempt to run them too, leading to the following error:
https://gist.github.com/kevinburke/1aa2b07e01de3a7daa15

Instead specify the test file we would like to run in the Makefile.

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