services/python-requests.git
11 years agoMerge pull request #1591 from sayanchowdhury/patch-1
Cory Benfield [Wed, 11 Sep 2013 15:16:29 +0000 (08:16 -0700)]
Merge pull request #1591 from sayanchowdhury/patch-1

minor typo: Fix requests spelling

11 years agominor typo: Fix requests spelling
Sayan Chowdhury [Wed, 11 Sep 2013 14:51:57 +0000 (20:21 +0530)]
minor typo: Fix requests spelling

11 years agoMerge pull request #1587 from kracekumar/patch-1
Cory Benfield [Tue, 10 Sep 2013 13:43:04 +0000 (06:43 -0700)]
Merge pull request #1587 from kracekumar/patch-1

Fixed persistence spelling

11 years agoFixed persistence spelling
kracekumar [Tue, 10 Sep 2013 12:22:29 +0000 (17:52 +0530)]
Fixed persistence spelling

11 years agoMerge pull request #1579 from yang/patch-1
Cory Benfield [Sun, 8 Sep 2013 15:05:00 +0000 (08:05 -0700)]
Merge pull request #1579 from yang/patch-1

Clarify timeout behavior in quickstart doc

11 years agoFix typo in Timeouts doc
Yang Zhang [Sat, 7 Sep 2013 07:16:09 +0000 (00:16 -0700)]
Fix typo in Timeouts doc

11 years agoClarify timeout behavior in quickstart doc
Yang Zhang [Sat, 7 Sep 2013 02:27:57 +0000 (19:27 -0700)]
Clarify timeout behavior in quickstart doc

11 years agoMerge pull request #1578 from jparise/jparise-authors
Cory Benfield [Thu, 5 Sep 2013 06:44:28 +0000 (23:44 -0700)]
Merge pull request #1578 from jparise/jparise-authors

Adding myself to the list of contributors.

11 years agoAdding myself to the list of contributors.
Jon Parise [Wed, 4 Sep 2013 16:00:03 +0000 (09:00 -0700)]
Adding myself to the list of contributors.

11 years agoMerge pull request #1575 from jparise/content-encoding
Kenneth Reitz [Wed, 4 Sep 2013 02:42:43 +0000 (19:42 -0700)]
Merge pull request #1575 from jparise/content-encoding

Improved content encoding detection.

11 years agoImproved content encoding detection.
Jon Parise [Tue, 3 Sep 2013 23:16:46 +0000 (16:16 -0700)]
Improved content encoding detection.

get_encodings_from_content() can now detect HTML in-document content
encoding declarations in the following formats:

 - HTML5
 - HTML4
 - XHTML 1.x served with text/html MIME type
 - XHTML 1.x served as XML

Ref: http://www.w3.org/International/questions/qa-html-encoding-declarations

11 years agoMerge pull request #1566 from sigmavirus24/update_readme
Cory Benfield [Sun, 1 Sep 2013 18:25:04 +0000 (11:25 -0700)]
Merge pull request #1566 from sigmavirus24/update_readme

Add link to Contributor Friendly tag in README

11 years agoAdd link to Contributor Friendly tag
Ian Cordasco [Sun, 1 Sep 2013 18:21:55 +0000 (13:21 -0500)]
Add link to Contributor Friendly tag

Add note that I'm willing to help anyone who is looking to submit a pull request

11 years agoMerge pull request #1556 from ssbarnea/master
Cory Benfield [Tue, 27 Aug 2013 15:03:33 +0000 (08:03 -0700)]
Merge pull request #1556 from ssbarnea/master

Added link to StackOverflow questions related to python-requests. This s...

11 years agoAdded link to StackOverflow questions related to python-requests. This should be...
Sorin Sbarnea [Tue, 27 Aug 2013 14:39:07 +0000 (15:39 +0100)]
Added link to StackOverflow questions related to python-requests. This should be the default support way for the library, as clearly most questions are supposed to be programming related.

Signed-off-by: Sorin Sbarnea <sorin.sbarnea@citrix.com>
11 years agoMerge pull request #1540 from libbkmz/master
Cory Benfield [Sun, 18 Aug 2013 20:03:03 +0000 (13:03 -0700)]
Merge pull request #1540 from libbkmz/master

Event hooks update

11 years agoUpdate advanced.rst
libbkmz [Sun, 18 Aug 2013 20:01:37 +0000 (00:01 +0400)]
Update advanced.rst

11 years agoMerge pull request #1538 from enkore/patch-1
Cory Benfield [Sun, 18 Aug 2013 06:26:59 +0000 (23:26 -0700)]
Merge pull request #1538 from enkore/patch-1

Remove superfluous double dot

11 years agoRemove superfluous double dot
enkore [Sun, 18 Aug 2013 01:06:34 +0000 (03:06 +0200)]
Remove superfluous double dot

11 years agoMerge pull request #1535 from sigmavirus24/ignore_original_response_if_none
Kenneth Reitz [Sat, 17 Aug 2013 03:15:18 +0000 (20:15 -0700)]
Merge pull request #1535 from sigmavirus24/ignore_original_response_if_none

Skip cookie extraction if necessary

11 years agoSkip cookie extraction if necessary
Ian Cordasco [Sat, 17 Aug 2013 02:38:20 +0000 (21:38 -0500)]
Skip cookie extraction if necessary

If _original_response is never set/is None, then don't try to extract cookies
from the response.

11 years agoMerge pull request #1508 from dieterv/master
Kenneth Reitz [Thu, 1 Aug 2013 01:36:07 +0000 (18:36 -0700)]
Merge pull request #1508 from dieterv/master

remove duplicate comment

11 years agoMerge pull request #1500 from gavrie/master 2.0
Kenneth Reitz [Thu, 1 Aug 2013 01:23:43 +0000 (18:23 -0700)]
Merge pull request #1500 from gavrie/master

Update urllib3 to d89d508

11 years agoMerge pull request #1487 from dpursehouse/rewrite-test_mixed_case_scheme_acceptable
Kenneth Reitz [Thu, 1 Aug 2013 01:23:34 +0000 (18:23 -0700)]
Merge pull request #1487 from dpursehouse/rewrite-test_mixed_case_scheme_acceptable

Rewrite test cases to remove dependency on httpbin.org and example.com

11 years agoMerge pull request #1498 from Lukasa/incompleteread
Kenneth Reitz [Thu, 1 Aug 2013 01:23:14 +0000 (18:23 -0700)]
Merge pull request #1498 from Lukasa/incompleteread

Wrap IncompleteRead in ChunkedEncodingError.

11 years agoMerge pull request #1501 from sigmavirus24/remove_setting_of_hooks
Kenneth Reitz [Thu, 1 Aug 2013 01:22:58 +0000 (18:22 -0700)]
Merge pull request #1501 from sigmavirus24/remove_setting_of_hooks

Fix duplication of efforts caught by @dofelw

11 years agoMerge pull request #1506 from Lukasa/mockrequest
Kenneth Reitz [Thu, 1 Aug 2013 01:22:02 +0000 (18:22 -0700)]
Merge pull request #1506 from Lukasa/mockrequest

Provide 'host' parameter to MockRequest.

11 years agoMerge pull request #1507 from buzztabapp/prepared-session-requests
Kenneth Reitz [Thu, 1 Aug 2013 01:21:28 +0000 (18:21 -0700)]
Merge pull request #1507 from buzztabapp/prepared-session-requests

Allow preparing of Requests from Session settings without sending.

11 years agoMerge settings when creating PreparedRequest, don't copy Request.
Robert Estelle [Wed, 31 Jul 2013 20:42:02 +0000 (13:42 -0700)]
Merge settings when creating PreparedRequest, don't copy Request.

11 years agoremove duplicate comment
Dieter Verfaillie [Wed, 31 Jul 2013 07:29:24 +0000 (09:29 +0200)]
remove duplicate comment

This is already mentioned at line 357...

11 years agoAdd Session.prepare_request test case.
Robert Estelle [Wed, 31 Jul 2013 06:02:13 +0000 (23:02 -0700)]
Add Session.prepare_request test case.

11 years agoAdd Request.copy() test case.
Robert Estelle [Wed, 31 Jul 2013 06:01:56 +0000 (23:01 -0700)]
Add Request.copy() test case.

11 years agoShallow copy of Request fields in Request.copy()
Robert Estelle [Wed, 31 Jul 2013 05:59:51 +0000 (22:59 -0700)]
Shallow copy of Request fields in Request.copy()

This prevents e.g. modifying the headers of a copied request from
affecting the headers of its source and vice versa. Copying is used with
the intent to mutuate, so allowing this kind of mutation of fields makes
sense.

Is a deep copy better?

11 years agoSkip unneccessary Request.copy in Session.request
Robert Estelle [Wed, 31 Jul 2013 05:59:11 +0000 (22:59 -0700)]
Skip unneccessary Request.copy in Session.request

11 years agoPrepare requests with session settings separately from sending.
Robert Estelle [Wed, 31 Jul 2013 04:39:36 +0000 (21:39 -0700)]
Prepare requests with session settings separately from sending.

11 years agoProvide 'host' parameter to MockRequest.
Cory Benfield [Tue, 30 Jul 2013 17:21:37 +0000 (18:21 +0100)]
Provide 'host' parameter to MockRequest.

11 years agoFix duplication of efforts caught by @dofelw
Ian Cordasco [Mon, 29 Jul 2013 13:09:07 +0000 (08:09 -0500)]
Fix duplication of efforts caught by @dofelw

11 years agoUpdate urllib3 to d89d508
Gavrie Philipson [Mon, 29 Jul 2013 08:28:46 +0000 (11:28 +0300)]
Update urllib3 to d89d508

11 years agoWrap IncompleteRead in ChunkedEncodingError.
Cory Benfield [Sun, 28 Jul 2013 06:42:17 +0000 (07:42 +0100)]
Wrap IncompleteRead in ChunkedEncodingError.

11 years agoMerge pull request #1494 from Lukasa/close
Cory Benfield [Sun, 28 Jul 2013 06:04:34 +0000 (23:04 -0700)]
Merge pull request #1494 from Lukasa/close

Document the Response.close() method.

11 years agoMerge pull request #1476 from sigmavirus24/add_copy_to_prepared_requests
Kenneth Reitz [Sat, 27 Jul 2013 01:16:00 +0000 (18:16 -0700)]
Merge pull request #1476 from sigmavirus24/add_copy_to_prepared_requests

[2.0] Add copy method to PreparedRequest objects

11 years agoDocument the Response.close() method.
Cory Benfield [Thu, 25 Jul 2013 18:10:42 +0000 (19:10 +0100)]
Document the Response.close() method.

11 years agoComment markups, courtesy of @sigmavirus24
Cory Benfield [Wed, 24 Jul 2013 15:03:24 +0000 (16:03 +0100)]
Comment markups, courtesy of @sigmavirus24

11 years agoMerge pull request #1490 from Lukasa/cookiedocs
Kenneth Reitz [Wed, 24 Jul 2013 13:12:10 +0000 (06:12 -0700)]
Merge pull request #1490 from Lukasa/cookiedocs

Better cookie docs on sessions.

11 years agoBetter cookie docs on sessions.
Cory Benfield [Wed, 24 Jul 2013 12:25:59 +0000 (13:25 +0100)]
Better cookie docs on sessions.

11 years agoCheck the response URL in `test_uppercase_scheme_redirect`
David Pursehouse [Wed, 24 Jul 2013 08:37:35 +0000 (17:37 +0900)]
Check the response URL in `test_uppercase_scheme_redirect`

Update the test to check that the URL in the response is the
one that we expect, i.e. the one it was supposed to redirect to.

11 years agoRewrite `test_uppercase_scheme_redirect` to use local httpbin
David Pursehouse [Wed, 24 Jul 2013 08:18:16 +0000 (17:18 +0900)]
Rewrite `test_uppercase_scheme_redirect` to use local httpbin

Instead of redirecting to hard-coded 'example.com', use the URL
defined in `HTTPBIN_URL` with the path set to the 'html' endpoint.

11 years agoRemove redundant test case `test_uppercase_scheme`
David Pursehouse [Wed, 24 Jul 2013 07:57:54 +0000 (16:57 +0900)]
Remove redundant test case `test_uppercase_scheme`

This test verifies that an upper case scheme ('HTTP') works correctly,
but this is already tested in `test_mixed_case_scheme_acceptable`.

11 years agoRewrite `test_mixed_case_scheme_acceptable` to work with local httpbin
David Pursehouse [Wed, 24 Jul 2013 02:58:43 +0000 (11:58 +0900)]
Rewrite `test_mixed_case_scheme_acceptable` to work with local httpbin

Instead of using hard-coded urls to httpbin.org, use the url defined
in `HTTPBIN_URL` replacing the scheme as necessary to test the mixed
cases.

Refs #1485

11 years agoRemove redundant session in `test_mixed_case_scheme_acceptable`
David Pursehouse [Wed, 24 Jul 2013 02:39:03 +0000 (11:39 +0900)]
Remove redundant session in `test_mixed_case_scheme_acceptable`

11 years agoMerge pull request #1486 from sigmavirus24/use_urljoin
Kenneth Reitz [Tue, 23 Jul 2013 16:03:05 +0000 (09:03 -0700)]
Merge pull request #1486 from sigmavirus24/use_urljoin

Use urlparse.urljointo construct httpbin url

11 years agoDerp. Use compat
Ian Cordasco [Tue, 23 Jul 2013 15:48:45 +0000 (10:48 -0500)]
Derp. Use compat

11 years agoUse urlparse.urljointo construct httpbin url
Ian Cordasco [Tue, 23 Jul 2013 15:23:31 +0000 (10:23 -0500)]
Use urlparse.urljointo construct httpbin url

11 years agoMerge pull request #1482 from dpursehouse/fix-testcases-with-proxy
Kenneth Reitz [Tue, 23 Jul 2013 12:23:35 +0000 (05:23 -0700)]
Merge pull request #1482 from dpursehouse/fix-testcases-with-proxy

Fix test cases that fail when running behind a proxy

11 years agoMerge pull request #1483 from dpursehouse/httpbin-url-without-trailing-slash
Kenneth Reitz [Tue, 23 Jul 2013 12:23:11 +0000 (05:23 -0700)]
Merge pull request #1483 from dpursehouse/httpbin-url-without-trailing-slash

Test cases fail when `HTTPBIN_URL` does not have trailing slash

11 years agoFix test cases that fail when running behind a proxy
David Pursehouse [Tue, 23 Jul 2013 01:51:15 +0000 (10:51 +0900)]
Fix test cases that fail when running behind a proxy

When sending a request via `Session.send()` the proxies must be
explicitly given with the `proxies` argument.  This is not done
in the test cases, which means that they fail when run on a system
that is behind a proxy.

Update test cases to make sure the proxies are set in the sessions.

11 years agoTest cases fail when `HTTPBIN_URL` does not have trailing slash
David Pursehouse [Tue, 23 Jul 2013 06:13:00 +0000 (15:13 +0900)]
Test cases fail when `HTTPBIN_URL` does not have trailing slash

Test cases can be run against a local httpbin server defined by
the `HTTPBIN_URL` environment variable, but it causes tests to
fail if the given URL does not end with a slash.

Ensure that the URL always ends with a slash.

11 years agoMerge pull request #1479 from dpursehouse/fix-warnings
Kenneth Reitz [Mon, 22 Jul 2013 08:31:16 +0000 (01:31 -0700)]
Merge pull request #1479 from dpursehouse/fix-warnings

Fix a few warnings flagged by PyDev

11 years agoFix a few warnings flagged by PyDev
David Pursehouse [Mon, 22 Jul 2013 08:14:37 +0000 (17:14 +0900)]
Fix a few warnings flagged by PyDev

- Unused import of urlparse
- Unnecessary definition of variable
- Incorrect indentation

11 years agoMerge pull request #1478 from dpursehouse/add-me-to-authors
Kenneth Reitz [Mon, 22 Jul 2013 07:09:35 +0000 (00:09 -0700)]
Merge pull request #1478 from dpursehouse/add-me-to-authors

Add myself to the authors list

11 years agoAdd myself to the authors list
David Pursehouse [Mon, 22 Jul 2013 06:19:10 +0000 (15:19 +0900)]
Add myself to the authors list

11 years agoMerge pull request #1477 from dpursehouse/other-auth-basic-example
Cory Benfield [Mon, 22 Jul 2013 06:04:31 +0000 (23:04 -0700)]
Merge pull request #1477 from dpursehouse/other-auth-basic-example

Add a simple example of custom authentication in the documentation

11 years agoAdd a simple example of custom authentication in the documentation
David Pursehouse [Mon, 22 Jul 2013 00:09:26 +0000 (09:09 +0900)]
Add a simple example of custom authentication in the documentation

Refs #1471

11 years agoWrap long lines in the authentication documentation
David Pursehouse [Mon, 22 Jul 2013 00:08:47 +0000 (09:08 +0900)]
Wrap long lines in the authentication documentation

11 years agoAdd copy method to PreparedRequest objects
Ian Cordasco [Sat, 20 Jul 2013 21:08:35 +0000 (17:08 -0400)]
Add copy method to PreparedRequest objects

11 years agoMerge pull request #1474 from Kwpolska/docfix
Kenneth Reitz [Sat, 20 Jul 2013 12:15:06 +0000 (05:15 -0700)]
Merge pull request #1474 from Kwpolska/docfix

Some tiny fixes to the documentation

11 years agofurther treatment
Kwpolska [Sat, 20 Jul 2013 11:54:33 +0000 (13:54 +0200)]
further treatment

Signed-off-by: Kwpolska <kwpolska@gmail.com>
11 years agosession object should be uppercase
Kwpolska [Sat, 20 Jul 2013 11:39:50 +0000 (13:39 +0200)]
session object should be uppercase

Signed-off-by: Kwpolska <kwpolska@gmail.com>
11 years agofixed underline
Kwpolska [Sat, 20 Jul 2013 11:31:37 +0000 (13:31 +0200)]
fixed underline

Signed-off-by: Kwpolska <kwpolska@gmail.com>
11 years agoGrammar fixes and such
Kwpolska [Sat, 20 Jul 2013 10:56:25 +0000 (12:56 +0200)]
Grammar fixes and such

Signed-off-by: Kwpolska <kwpolska@gmail.com>
11 years agoSome cosmetic updates to the docs
Kwpolska [Sat, 20 Jul 2013 10:12:57 +0000 (12:12 +0200)]
Some cosmetic updates to the docs

Signed-off-by: Kwpolska <kwpolska@gmail.com>
11 years agoMerge pull request #1470 from Lukasa/carset
Cory Benfield [Fri, 19 Jul 2013 13:45:56 +0000 (06:45 -0700)]
Merge pull request #1470 from Lukasa/carset

Remove charset from JSON types: not valid.

11 years agoMerge pull request #1465 from dpursehouse/doc-netrc-authentication
Cory Benfield [Fri, 19 Jul 2013 13:45:17 +0000 (06:45 -0700)]
Merge pull request #1465 from dpursehouse/doc-netrc-authentication

Improve documentation of netrc authentication

11 years agoMove netrc authentication documentation under the Basic Auth section
David Pursehouse [Fri, 19 Jul 2013 13:37:53 +0000 (22:37 +0900)]
Move netrc authentication documentation under the Basic Auth section

11 years agoRemove charset from JSON types: not valid.
Cory Benfield [Fri, 19 Jul 2013 13:03:20 +0000 (14:03 +0100)]
Remove charset from JSON types: not valid.

11 years agoMerge pull request #1466 from s7v7nislands/fix_doc
Cory Benfield [Fri, 19 Jul 2013 11:12:29 +0000 (04:12 -0700)]
Merge pull request #1466 from s7v7nislands/fix_doc

Fix doc

11 years agomerge
s7v7nislands [Fri, 19 Jul 2013 09:12:01 +0000 (17:12 +0800)]
merge

11 years agofix doc
s7v7nislands [Fri, 19 Jul 2013 09:04:53 +0000 (17:04 +0800)]
fix doc

11 years agoImprove documentation of netrc authentication
David Pursehouse [Fri, 19 Jul 2013 08:22:11 +0000 (17:22 +0900)]
Improve documentation of netrc authentication

The documentation does not make it clear that when the credentials
from netrc are used, Requests authenticates with HTTP Basic Auth.

I just spent ages trying to figure out why it wasn't working, and
it was because although the credentials in the netrc were correct,
the server actually required HTTP Digest Auth.

Add a section in the authentication documentation to make it clear
that HTTP Basic Auth is used.

11 years agoMerge pull request #1464 from dpursehouse/document-none-not-sent
Cory Benfield [Fri, 19 Jul 2013 08:19:55 +0000 (01:19 -0700)]
Merge pull request #1464 from dpursehouse/document-none-not-sent

Fix #1322: Add note in docs about None not being sent as data

11 years agoFix #1322: Add note in docs about None not being sent as data
David Pursehouse [Fri, 19 Jul 2013 08:00:46 +0000 (17:00 +0900)]
Fix #1322: Add note in docs about None not being sent as data

In the case:

  payload = {'key1': 'value1', 'key2': 'value2', 'key3': None}
  r = requests.get("http://httpbin.org", params=payload)

the parameter `key3` will not be sent as a parameter in the URL.

Mention this in the documentation.

11 years agoMerge pull request #1463 from AudriusButkevicius/master
Kenneth Reitz [Thu, 18 Jul 2013 22:00:28 +0000 (15:00 -0700)]
Merge pull request #1463 from AudriusButkevicius/master

Update urllib3 to a43319f

11 years agoUpdate urllib3 to a43319f
Audrius Butkevicius [Thu, 18 Jul 2013 21:06:19 +0000 (21:06 +0000)]
Update urllib3 to a43319f

11 years agoMerge remote-tracking branch 'origin/master'
Kenneth Reitz [Tue, 16 Jul 2013 06:20:28 +0000 (02:20 -0400)]
Merge remote-tracking branch 'origin/master'

11 years agobadge.fury.io
Kenneth Reitz [Tue, 16 Jul 2013 06:20:23 +0000 (02:20 -0400)]
badge.fury.io

11 years agoMerge pull request #1440 from fcurella/patch-0
Kenneth Reitz [Mon, 15 Jul 2013 13:54:00 +0000 (06:54 -0700)]
Merge pull request #1440 from fcurella/patch-0

unquote double-quotes cookie values

11 years agoMerge pull request #1439 from voberoi/master
Kenneth Reitz [Mon, 15 Jul 2013 13:22:53 +0000 (06:22 -0700)]
Merge pull request #1439 from voberoi/master

Make sure netrc doesn't override any authentication settings explicitly set by the client

11 years agoMerge pull request #1441 from Lukasa/1395
Kenneth Reitz [Mon, 15 Jul 2013 13:22:41 +0000 (06:22 -0700)]
Merge pull request #1441 from Lukasa/1395

Remove urllib3-specific kwargs from non-urllib3 branch.

11 years agoMerge pull request #1456 from phndiaye/master
Kenneth Reitz [Mon, 15 Jul 2013 13:21:31 +0000 (06:21 -0700)]
Merge pull request #1456 from phndiaye/master

Changed the "im_used" informational status code for the value given by IANA (226)

11 years agoSet 208 status_code to "already_reported"
Philippe Ndiaye [Sat, 13 Jul 2013 09:08:01 +0000 (11:08 +0200)]
Set 208 status_code to "already_reported"

11 years agoChanged the "im_used" informational status code for the value given by IANA (226)
Philippe Ndiaye [Sat, 13 Jul 2013 07:55:50 +0000 (09:55 +0200)]
Changed the "im_used" informational status code for the value given by IANA (226)

See RFC 3229 at http://tools.ietf.org/html/rfc3229#section-10.4.1 and HTTP status codes at http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml

11 years agoDelete invokefile.py
Kenneth Reitz [Sat, 6 Jul 2013 04:04:50 +0000 (14:04 +1000)]
Delete invokefile.py

11 years agoRemove urllib3-specific kwargs from general code
Cory Benfield [Thu, 4 Jul 2013 09:34:43 +0000 (10:34 +0100)]
Remove urllib3-specific kwargs from general code

11 years agoAdded myself to AUTHORS
Flavio Curella [Mon, 1 Jul 2013 20:54:59 +0000 (15:54 -0500)]
Added myself to AUTHORS

11 years agokeep the double quotes, but don't escape them
Flavio Curella [Mon, 1 Jul 2013 20:48:48 +0000 (15:48 -0500)]
keep the double quotes, but don't escape them

11 years agounquote double-quotes cookie values
Flavio Curella [Mon, 1 Jul 2013 18:49:43 +0000 (13:49 -0500)]
unquote double-quotes cookie values

11 years agoAdd test to verify .netrc authentication behavior.
Vikram Oberoi [Thu, 27 Jun 2013 21:16:42 +0000 (17:16 -0400)]
Add test to verify .netrc authentication behavior.

Here's what should happen:

- If no credentials are given, use netrc if there's a netrc entry.
- If credentials are given, they should override netrc.

11 years ago.netrc settings shouldn't blow away explicit auth settings on a session
Vikram Oberoi [Thu, 27 Jun 2013 20:43:40 +0000 (16:43 -0400)]
.netrc settings shouldn't blow away explicit auth settings on a session

11 years agoMerge pull request #1437 from lukaszb/patch-1
Cory Benfield [Thu, 27 Jun 2013 18:18:56 +0000 (11:18 -0700)]
Merge pull request #1437 from lukaszb/patch-1

Fixed wrong method call at streaming example

11 years agoFixed wrong method call at streaming example
Lukasz Balcerzak [Thu, 27 Jun 2013 11:37:39 +0000 (13:37 +0200)]
Fixed wrong method call at streaming example

405 is returned if POST request is performed to http://httpbin.org/stream/20