services/python-requests.git
10 years agoMerge pull request #2514 from kennethreitz/revert-2513-master upstream
Cory Benfield [Mon, 23 Mar 2015 15:13:14 +0000 (15:13 +0000)]
Merge pull request #2514 from kennethreitz/revert-2513-master

Revert "Minor Patch TypeError thrown"

10 years agoRevert "Minor Patch TypeError thrown"
Ian Cordasco [Mon, 23 Mar 2015 15:11:13 +0000 (10:11 -0500)]
Revert "Minor Patch TypeError thrown"

10 years agoMerge pull request #2513 from Montycarlo/master
Cory Benfield [Mon, 23 Mar 2015 06:18:48 +0000 (06:18 +0000)]
Merge pull request #2513 from Montycarlo/master

Minor Patch TypeError thrown

10 years agoMinor Patch TypeError thrown
Josh Brown [Mon, 23 Mar 2015 05:01:48 +0000 (16:01 +1100)]
Minor Patch TypeError thrown

10 years agoMerge pull request #2512 from Lukasa/elapsed
Ian Cordasco [Sun, 22 Mar 2015 19:51:17 +0000 (14:51 -0500)]
Merge pull request #2512 from Lukasa/elapsed

Expand on what 'elapsed' means.

10 years agoExpand on what 'elapsed' means.
Cory Benfield [Sat, 21 Mar 2015 16:27:21 +0000 (16:27 +0000)]
Expand on what 'elapsed' means.

10 years agoMerge pull request #2501 from yasoob/master
Cory Benfield [Mon, 16 Mar 2015 20:31:09 +0000 (20:31 +0000)]
Merge pull request #2501 from yasoob/master

Added myself to authors.rst

10 years agoadded myself to authors.rst
M.Yasoob Ullah Khalid ☺ [Mon, 16 Mar 2015 20:29:33 +0000 (01:29 +0500)]
added myself to authors.rst

10 years agoMerge pull request #1 from kennethreitz/master
M.Yasoob Ullah Khalid ☺ [Mon, 16 Mar 2015 20:25:05 +0000 (01:25 +0500)]
Merge pull request #1 from kennethreitz/master

Only for me

10 years agoMerge pull request #2493 from yasoob/master
Cory Benfield [Sun, 15 Mar 2015 18:39:54 +0000 (18:39 +0000)]
Merge pull request #2493 from yasoob/master

made the quickstart more reader friendly

10 years agoedited the useragent string
M.Yasoob Ullah Khalid ☺ [Sun, 15 Mar 2015 17:42:43 +0000 (22:42 +0500)]
edited the useragent string

10 years agoMerge pull request #2496 from Lukasa/cve
Cory Benfield [Sun, 15 Mar 2015 11:50:51 +0000 (11:50 +0000)]
Merge pull request #2496 from Lukasa/cve

Update 2.6.0 changelog with CVE number CVE-2015-2296

10 years agoUpdate 2.6.0 changelog with CVE number.
Cory Benfield [Sun, 15 Mar 2015 11:49:32 +0000 (11:49 +0000)]
Update 2.6.0 changelog with CVE number.

10 years agomade the quickstart more reader friendly. Closes #2418
M.Yasoob Ullah Khalid ☺ [Sat, 14 Mar 2015 20:02:09 +0000 (01:02 +0500)]
made the quickstart more reader friendly. Closes #2418

10 years agoMerge pull request #2492 from sigmavirus24/release/v2.6.0 v2.6.0
Ian Cordasco [Sat, 14 Mar 2015 16:43:32 +0000 (11:43 -0500)]
Merge pull request #2492 from sigmavirus24/release/v2.6.0

Bump version and add release notes for 2.6.0

10 years agoBump version and add release notes for 2.6.0
Ian Cordasco [Sat, 14 Mar 2015 16:42:38 +0000 (11:42 -0500)]
Bump version and add release notes for 2.6.0

10 years agoMerge pull request #2472 from scholer/master
Ian Cordasco [Sat, 14 Mar 2015 12:43:17 +0000 (07:43 -0500)]
Merge pull request #2472 from scholer/master

Avoid data duplication when creating a Request with str/bytes/bytearray input

10 years agoMerge pull request #2489 from Lukasa/cookiebad
Ian Cordasco [Sat, 14 Mar 2015 12:05:48 +0000 (07:05 -0500)]
Merge pull request #2489 from Lukasa/cookiebad

Don't label cookies for the target domain.

10 years agoAdd explanatory comment for cookie change
Cory Benfield [Sat, 14 Mar 2015 11:29:05 +0000 (11:29 +0000)]
Add explanatory comment for cookie change

10 years agoMerge pull request #2486 from sigmavirus24/bug/2462
Cory Benfield [Sat, 14 Mar 2015 11:20:33 +0000 (11:20 +0000)]
Merge pull request #2486 from sigmavirus24/bug/2462

Extract version from requests/__init__.py instead of importing requests

10 years agoMerge pull request #2487 from ulope/return_type
Cory Benfield [Sat, 14 Mar 2015 11:19:12 +0000 (11:19 +0000)]
Merge pull request #2487 from ulope/return_type

Add return type field to entry-point docstrings

10 years agoAdd return type field to entry-point docstrings
Ulrich Petri [Thu, 12 Mar 2015 12:54:29 +0000 (13:54 +0100)]
Add return type field to entry-point docstrings

Fixes: #2483
10 years agoDon't ascribe cookies to the target domain.
Cory Benfield [Sat, 14 Mar 2015 08:49:55 +0000 (08:49 +0000)]
Don't ascribe cookies to the target domain.

10 years agoParse version number out of requests/__init__.py
Ian Cordasco [Sat, 14 Mar 2015 02:47:29 +0000 (21:47 -0500)]
Parse version number out of requests/__init__.py

With the new import machinery in requests/packages/__init__.py people
using `python setup.py test` will not be able to run the tests the first
time on a new environment. The VendorAlias logic breaks the import
machinery and the tests fail. By removing the import of requests in
setup.py, we avoid the issue where sys.meta_path continues to have the
version of VendorAlias from the import in setup.py.

Closes #2462

10 years agoMerge pull request #2485 from sigmavirus24/bug/shazow/urllib3/567
Cory Benfield [Thu, 12 Mar 2015 06:50:33 +0000 (06:50 +0000)]
Merge pull request #2485 from sigmavirus24/bug/shazow/urllib3/567

Import urllib3's Retry location from the right place

10 years agoImport urllib3's Retry location from the right place
Ian Cordasco [Thu, 12 Mar 2015 01:52:12 +0000 (20:52 -0500)]
Import urllib3's Retry location from the right place

Importing from urllib3's top-level location causes the namespace to be
urllib3.util.retry.Retry instead of
requests.packages.urllib3.util.retry.Retry. Without this fix, an using
requests with an un-vendored version of urllib3 will break when urllib3's
retry handling kicks in.

Closes shazow/urllib3#567

10 years agoMerge pull request #2482 from sigmavirus24/update-urllib3
Ian Cordasco [Wed, 11 Mar 2015 14:52:11 +0000 (09:52 -0500)]
Merge pull request #2482 from sigmavirus24/update-urllib3

Update urllib3 to 43b5b2b452e4344374de7d08ececcca495079b8d

10 years agoUpdate urllib3 to 43b5b2b452e4344374de7d08ececcca495079b8d
Ian Cordasco [Wed, 11 Mar 2015 00:34:34 +0000 (19:34 -0500)]
Update urllib3 to 43b5b2b452e4344374de7d08ececcca495079b8d

10 years agoMerge pull request #2478 from plaes/iter-lines
Cory Benfield [Sat, 7 Mar 2015 10:03:42 +0000 (10:03 +0000)]
Merge pull request #2478 from plaes/iter-lines

Document Response.iter_lines() deficiencies

10 years agoDocument Response.iter_lines() reentrancy issues
Priit Laes [Sat, 7 Mar 2015 09:04:43 +0000 (11:04 +0200)]
Document Response.iter_lines() reentrancy issues

10 years agoAdd testcase to demonstrate r.iter_lines() reentrancy issue
Priit Laes [Sat, 7 Mar 2015 07:40:25 +0000 (09:40 +0200)]
Add testcase to demonstrate r.iter_lines() reentrancy issue

10 years agoMerge pull request #2429 from kennethreitz/sigmavirus24/docs/support
Ian Cordasco [Wed, 4 Mar 2015 22:20:33 +0000 (16:20 -0600)]
Merge pull request #2429 from kennethreitz/sigmavirus24/docs/support

Update support documentation to be more accurate

10 years agoAdd Lukasa's GPG key fingerprint.
Cory Benfield [Wed, 4 Mar 2015 20:16:25 +0000 (20:16 +0000)]
Add Lukasa's GPG key fingerprint.

10 years agoAvoid duplicating files data when creating a Request with str/bytes/bytearray in...
Rasmus Scholer (TimelineX) [Wed, 4 Mar 2015 15:21:38 +0000 (10:21 -0500)]
Avoid duplicating files data when creating a Request with str/bytes/bytearray in the files argument. 30-40% performance improvement.

10 years agoAdd PGP Key fingerprints
Ian Cordasco [Wed, 4 Mar 2015 14:11:39 +0000 (08:11 -0600)]
Add PGP Key fingerprints

10 years agoMerge pull request #2466 from sigmavirus24/bug/2465
Ian Cordasco [Wed, 4 Mar 2015 13:49:12 +0000 (07:49 -0600)]
Merge pull request #2466 from sigmavirus24/bug/2465

Only add VendorAliases for vendored dependencies

10 years agoMerge pull request #2468 from scholer/master
Ian Cordasco [Tue, 3 Mar 2015 20:01:31 +0000 (14:01 -0600)]
Merge pull request #2468 from scholer/master

Support for bytearray when creating Request with files argument, just like str and bytes.

10 years agotest_can_send_bytes_bytearray_objects_with_files test now uses string input, not...
Rasmus Scholer (TimelineX) [Tue, 3 Mar 2015 19:37:39 +0000 (14:37 -0500)]
test_can_send_bytes_bytearray_objects_with_files test now uses string input, not float.

10 years agoCreated test case for using bytes and bytearray objects with files argument to Request.
Rasmus Scholer (TimelineX) [Tue, 3 Mar 2015 02:41:00 +0000 (03:41 +0100)]
Created test case for using bytes and bytearray objects with files argument to Request.

10 years agomodels.RequestEncodingMixin._encode_files now takes bytearray as fp in addition to...
Rasmus Scholer (TimelineX) [Tue, 3 Mar 2015 01:44:52 +0000 (02:44 +0100)]
models.RequestEncodingMixin._encode_files now takes bytearray as fp in addition to the currently supported bytes and str input.

10 years agoFix when packages are unvendored
Ian Cordasco [Sun, 1 Mar 2015 05:04:22 +0000 (23:04 -0600)]
Fix when packages are unvendored

When working these changes back upstream to pip, we realized that the
previous fix wasn't ideal since unvendoring the packages broke the
imports. For example, if urllib3 were unvendored, then the following
would fail:

    from requests.packages import urllib3

10 years agoAdd a test to ensure the alias does not regress
Ian Cordasco [Sun, 1 Mar 2015 02:19:13 +0000 (20:19 -0600)]
Add a test to ensure the alias does not regress

10 years agoOnly alias the imports for vendored dependencies
Ian Cordasco [Sun, 1 Mar 2015 02:13:45 +0000 (20:13 -0600)]
Only alias the imports for vendored dependencies

While discussion the issue, Donald Stufft (@dstufft) and I realized the
simplest solution is to simply add an alias per vendored dependency. The
resulting changes are simple and effective. It prevents the issue in
2.5.2 and 2.5.3 where the following would work:

    from requests.packages import webbrowser

This now appropriately raises an ImportError.

Closes #2465

10 years agoMerge pull request #2459 from kennethreitz/release-notes/2.5.3
Cory Benfield [Tue, 24 Feb 2015 16:32:15 +0000 (16:32 +0000)]
Merge pull request #2459 from kennethreitz/release-notes/2.5.3

Update HISTORY and release version for 2.5.3

10 years agoUpdate HISTORY and release version for 2.5.3 v2.5.3
Ian Cordasco [Tue, 24 Feb 2015 16:30:17 +0000 (10:30 -0600)]
Update HISTORY and release version for 2.5.3

10 years agoMerge pull request #2458 from kennethreitz/revert-2442-certs
Cory Benfield [Tue, 24 Feb 2015 16:18:16 +0000 (16:18 +0000)]
Merge pull request #2458 from kennethreitz/revert-2442-certs

Revert "Update certificate bundle."

10 years agoRevert "Update certificate bundle."
Ian Cordasco [Tue, 24 Feb 2015 15:44:51 +0000 (09:44 -0600)]
Revert "Update certificate bundle."

10 years agoUpdate HISTORY and version for v2.5.2 v2.5.2
Ian Cordasco [Mon, 23 Feb 2015 22:26:40 +0000 (16:26 -0600)]
Update HISTORY and version for v2.5.2

10 years agoUpdate urllib3 to 29aa09bde9c42cc9a8d79aac47ee3d362b438cca
Ian Cordasco [Mon, 23 Feb 2015 22:02:30 +0000 (16:02 -0600)]
Update urllib3 to 29aa09bde9c42cc9a8d79aac47ee3d362b438cca

10 years agoMerge pull request #2444 from Yasumoto/urllib_upgrade
Ian Cordasco [Mon, 23 Feb 2015 22:01:06 +0000 (16:01 -0600)]
Merge pull request #2444 from Yasumoto/urllib_upgrade

Upgrade urllib3 to 490d3a227fadb626cd54a240b9d0922f849914b4

10 years agoMerge pull request #2453 from requiredfield/master
Cory Benfield [Sat, 21 Feb 2015 10:20:57 +0000 (10:20 +0000)]
Merge pull request #2453 from requiredfield/master

document combination of repeated response headers

10 years agodocument combination of repeated response headers
requiredfield [Fri, 20 Feb 2015 18:20:18 +0000 (12:20 -0600)]
document combination of repeated response headers

10 years agoMerge pull request #2450 from iKevinY/shields-badges
Ian Cordasco [Fri, 20 Feb 2015 02:01:55 +0000 (20:01 -0600)]
Merge pull request #2450 from iKevinY/shields-badges

Update README to use Shields badges

10 years agoUpdate README to use Shields badges
Kevin Yap [Thu, 19 Feb 2015 06:36:16 +0000 (22:36 -0800)]
Update README to use Shields badges

Shields badges are friendlier to retina displays.

10 years agoUpgrade urllib3 to 490d3a227fadb626cd54a240b9d0922f849914b4
Joe Smith [Wed, 11 Feb 2015 18:22:10 +0000 (10:22 -0800)]
Upgrade urllib3 to 490d3a227fadb626cd54a240b9d0922f849914b4

10 years agoMerge pull request #2442 from Lukasa/certs
Ian Cordasco [Tue, 10 Feb 2015 19:05:56 +0000 (13:05 -0600)]
Merge pull request #2442 from Lukasa/certs

Update certificate bundle.

10 years agoUpdate certificate bundle.
Cory Benfield [Tue, 10 Feb 2015 19:03:59 +0000 (19:03 +0000)]
Update certificate bundle.

10 years agoMerge pull request #2440 from aquarion/patch-1
Ian Cordasco [Fri, 6 Feb 2015 14:02:58 +0000 (08:02 -0600)]
Merge pull request #2440 from aquarion/patch-1

Update to use readthedocs.org instead of rtfd.org

The requests-toolbelt link can't mix HTTPS with the short domain rtfd.

10 years agoUpdate to use readthedocs.org instead of rtfd.org
Nicholas Avenell [Fri, 6 Feb 2015 13:46:38 +0000 (13:46 +0000)]
Update to use readthedocs.org instead of rtfd.org

https://toolbelt.rtfd.org causes an SSL error because the wildcard SSL cert is for *.readthedocs.org.

10 years agoMerge pull request #2438 from colindickson/master
Cory Benfield [Wed, 4 Feb 2015 07:01:10 +0000 (07:01 +0000)]
Merge pull request #2438 from colindickson/master

add a timeout value to connection_error_invalid_port test to accelerate failure

10 years agoadd a timeout value to connection_error_invalid_port test to accelerate failure
Colin Dickson [Thu, 5 Feb 2015 02:05:03 +0000 (21:05 -0500)]
add a timeout value to connection_error_invalid_port test to accelerate failure

10 years agosplit test_connection_error into two distinct tests, and changed "unknown url" test...
Colin Dickson [Wed, 4 Feb 2015 02:23:07 +0000 (21:23 -0500)]
split test_connection_error into two distinct tests, and changed "unknown url" test URL since fooobarbangbazbing.httpbin.org currently gives a valid response.

10 years agoMerge pull request #2437 from tomscytale/docs_query_param_array
Cory Benfield [Tue, 3 Feb 2015 10:34:06 +0000 (10:34 +0000)]
Merge pull request #2437 from tomscytale/docs_query_param_array

quickstart: using a list as a value in query params

10 years agoquickstart: using a list as a value in query params
Tom S [Tue, 3 Feb 2015 09:16:38 +0000 (09:16 +0000)]
quickstart: using a list as a value in query params

10 years agoMerge pull request #2436 from colindickson/master
Cory Benfield [Tue, 3 Feb 2015 06:50:11 +0000 (06:50 +0000)]
Merge pull request #2436 from colindickson/master

Fix for failing test: test_connection_error

10 years agoFix typo. Use smaller paragraphs. Add CVE list
Ian Cordasco [Thu, 29 Jan 2015 02:48:22 +0000 (20:48 -0600)]
Fix typo. Use smaller paragraphs. Add CVE list

10 years agoAdd a missing comma
Ian Cordasco [Wed, 28 Jan 2015 14:58:43 +0000 (08:58 -0600)]
Add a missing comma

10 years agoAdd Cory's twitter account
Ian Cordasco [Wed, 28 Jan 2015 14:58:05 +0000 (08:58 -0600)]
Add Cory's twitter account

Added some more detail to the Vulnerability section

10 years agoUpdate support documentation to be more accurate
Ian Cordasco [Wed, 28 Jan 2015 14:16:05 +0000 (08:16 -0600)]
Update support documentation to be more accurate

We were missing instructions to report security vulnerabilities,
and all of the documentation referred to Kenneth as the only
source of support. We were also missing a link to StackOverflow.

10 years agoMerge pull request #2393 from sigmavirus24/bug/2356
Kenneth Reitz [Tue, 27 Jan 2015 18:24:34 +0000 (10:24 -0800)]
Merge pull request #2393 from sigmavirus24/bug/2356

Attempt to quote anyway if unquoting fails

10 years agoMerge pull request #2412 from sigmavirus24/remove-cruft
Kenneth Reitz [Tue, 27 Jan 2015 18:24:25 +0000 (10:24 -0800)]
Merge pull request #2412 from sigmavirus24/remove-cruft

Remove entirely unnecessary and unused bits from requests.compat

10 years agoMerge pull request #2413 from sigmavirus24/bug/2411
Kenneth Reitz [Tue, 27 Jan 2015 18:23:18 +0000 (10:23 -0800)]
Merge pull request #2413 from sigmavirus24/bug/2411

Check that filenames are unicode or bytes

10 years agoMerge pull request #2415 from sigmavirus24/bug/2408
Kenneth Reitz [Tue, 27 Jan 2015 18:22:53 +0000 (10:22 -0800)]
Merge pull request #2415 from sigmavirus24/bug/2408

Move noncebit to the only place it is used

10 years agoMerge pull request #2420 from chriskuehl/master
Cory Benfield [Fri, 23 Jan 2015 07:19:39 +0000 (07:19 +0000)]
Merge pull request #2420 from chriskuehl/master

Replace n-dash in HISTORY to workaround pip bug

10 years agoHISTORY: replace n-dash to workaround pip bug
Chris Kuehl [Fri, 23 Jan 2015 03:37:33 +0000 (19:37 -0800)]
HISTORY: replace n-dash to workaround pip bug

There exists a problem (maybe a bug?) in pip when using a locale like
`LC_ALL=C` (which is commonly used by CI environments and system
configuration tools such as Puppet), where the PKG-INFO file is decoded
using ascii, raising a UnicodeDecodeError when PKG-INFO contains
non-ASCII characters (such as the n-dash removed by this commit):

> Downloading/unpacking requests from https://pypi.python.org/packages/source/r/requests/requests-2.5.1.tar.gz
>   Downloading requests-2.5.1.tar.gz (443Kb): 443Kb downloaded
>   Running setup.py egg_info for package requests
>
> Exception:
> Traceback (most recent call last):
>   File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 104, in main
>     status = self.run(options, args)
>   File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 245, in run
>     requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
>   File "/usr/lib/python3/dist-packages/pip/req.py", line 1014, in prepare_files
>     req_to_install.assert_source_matches_version()
>   File "/usr/lib/python3/dist-packages/pip/req.py", line 359, in assert_source_matches_version
>     version = self.installed_version
>   File "/usr/lib/python3/dist-packages/pip/req.py", line 351, in installed_version
>     return self.pkg_info()['version']
>   File "/usr/lib/python3/dist-packages/pip/req.py", line 318, in pkg_info
>     data = self.egg_info_data('PKG-INFO')
>   File "/usr/lib/python3/dist-packages/pip/req.py", line 261, in egg_info_data
>     data = fp.read()
>   File "/usr/lib/python3.2/encodings/ascii.py", line 26, in decode
>     return codecs.ascii_decode(input, self.errors)[0]
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 8161: ordinal not in range(128)

I'm not able to reproduce this by installing the package directly, only by
installing another package which depends on it (via `install_requires`).

The command I used was `LC_ALL=C /usr/bin/pip-3.2 install --upgrade ocflib`,
with "pip 1.1 from /usr/lib/python3/dist-packages (python 3.2)" (which
is the packaged version for Debian 7).

Although this should probably be addressed ultimately in pip, replacing
this character in HISTORY is a pain-free and pragmatic way to help
developers and system administrators who may be stuck with old versions
of pip for many years to come.

10 years agoCheck that a filename is a basestring instance
Ian Cordasco [Mon, 19 Jan 2015 03:51:49 +0000 (21:51 -0600)]
Check that a filename is a basestring instance

Instead of only checking one or another type of string-like object that
we accept, let's be able to check both. Previously, we only checked if
the filename was an instance of the native str type which on Python 2
excluded unicode filenames and bytes-like filenames on Python 3.

Fixes #2411

10 years agoMove noncebit to the only place it is used
Ian Cordasco [Tue, 20 Jan 2015 00:50:50 +0000 (18:50 -0600)]
Move noncebit to the only place it is used

Since we only allow for "auth" qop-value, hardcode it

Fixes #2408

10 years agoRemove entirely unnecessary and unused bits from requests.compat
Ian Cordasco [Mon, 19 Jan 2015 03:17:11 +0000 (21:17 -0600)]
Remove entirely unnecessary and unused bits from requests.compat

10 years agoAttempt to quote anyway if unquoting fails
Ian Cordasco [Sat, 27 Dec 2014 02:02:16 +0000 (20:02 -0600)]
Attempt to quote anyway if unquoting fails

Fixes #2356

10 years agoUpdate urllib3 to a27758625e4169330fcf965652b1093faf5aaaa2
Ian Cordasco [Sat, 10 Jan 2015 02:55:54 +0000 (20:55 -0600)]
Update urllib3 to a27758625e4169330fcf965652b1093faf5aaaa2

10 years agoMerge pull request #2375 from sigmavirus24/fix-imports-when-unbundled
Kenneth Reitz [Fri, 9 Jan 2015 20:38:30 +0000 (15:38 -0500)]
Merge pull request #2375 from sigmavirus24/fix-imports-when-unbundled

Copy pip's import machinery wholesale

10 years agodrawn towards it rather than pushed away
Kenneth Reitz [Thu, 8 Jan 2015 15:04:58 +0000 (10:04 -0500)]
drawn towards it rather than pushed away

10 years agocertifi
Kenneth Reitz [Thu, 8 Jan 2015 15:01:39 +0000 (10:01 -0500)]
certifi

10 years agocertifi
Kenneth Reitz [Thu, 8 Jan 2015 14:58:31 +0000 (09:58 -0500)]
certifi

10 years agosimpler button
Kenneth Reitz [Thu, 8 Jan 2015 14:55:40 +0000 (09:55 -0500)]
simpler button

10 years agocleanups
Kenneth Reitz [Thu, 8 Jan 2015 14:52:56 +0000 (09:52 -0500)]
cleanups

10 years agoRequests Pro
Kenneth Reitz [Thu, 8 Jan 2015 14:52:50 +0000 (09:52 -0500)]
Requests Pro

10 years agojavascripts
Kenneth Reitz [Tue, 6 Jan 2015 05:56:47 +0000 (00:56 -0500)]
javascripts

10 years agoMerge pull request #2395 from shrayasr/happy-new-year
Cory Benfield [Thu, 1 Jan 2015 08:28:11 +0000 (08:28 +0000)]
Merge pull request #2395 from shrayasr/happy-new-year

Changing year in all copyright information

10 years agoChanging year in all copyright information
Shrayas [Thu, 1 Jan 2015 03:34:50 +0000 (09:04 +0530)]
Changing year in all copyright information

- Happy new year! Thanks for this awesome library :)

10 years agoMerge pull request #2390 from Lukasa/cookiedocs
Kenneth Reitz [Wed, 24 Dec 2014 15:15:37 +0000 (10:15 -0500)]
Merge pull request #2390 from Lukasa/cookiedocs

Clean up cookie docstrings, document cookie jar.

10 years agoEnhance documentation for clarity.
Cory Benfield [Wed, 24 Dec 2014 14:54:49 +0000 (14:54 +0000)]
Enhance documentation for clarity.

10 years agoClean up cookie docs and display them.
Cory Benfield [Wed, 24 Dec 2014 14:33:14 +0000 (14:33 +0000)]
Clean up cookie docs and display them.

10 years agoBump version to 2.5.1 v2.5.1
Ian Cordasco [Tue, 23 Dec 2014 17:54:01 +0000 (11:54 -0600)]
Bump version to 2.5.1

10 years agoAdd release notes for 2.5.1
Ian Cordasco [Tue, 23 Dec 2014 17:50:31 +0000 (11:50 -0600)]
Add release notes for 2.5.1

10 years agoMerge pull request #2389 from sigmavirus24/bug/fix-digest-auth
Ian Cordasco [Tue, 23 Dec 2014 17:40:35 +0000 (11:40 -0600)]
Merge pull request #2389 from sigmavirus24/bug/fix-digest-auth

Fix bug in renegotiating a nonce with the server

10 years agoFix bug in renegotiating a nonce with the server
Ian Cordasco [Tue, 23 Dec 2014 16:40:31 +0000 (10:40 -0600)]
Fix bug in renegotiating a nonce with the server

If a session runs long enough (without constant activity) then the server can
expire the nonce the session has negotiated. If that happens the session will
get a new 401 response which we were immediately returning to the user. A user
would then have to essentially reinitialize session.auth each time they get an
unexpected 401.

Also, there's no need for setattr calls when we can simply assign the
attribute on the instance.

10 years agoFix error handling on Python 3
Ian Cordasco [Wed, 17 Dec 2014 04:49:24 +0000 (22:49 -0600)]
Fix error handling on Python 3

10 years agoMerge branch 'master' of https://github.com/ContinuousFunction/requests into pr/2344
Ian Cordasco [Wed, 17 Dec 2014 04:18:51 +0000 (22:18 -0600)]
Merge branch 'master' of https://github.com/ContinuousFunction/requests into pr/2344

10 years agoMerge pull request #2382 from daftshady/exception
Cory Benfield [Tue, 16 Dec 2014 09:19:50 +0000 (09:19 +0000)]
Merge pull request #2382 from daftshady/exception

catch exception more specifically