summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version to 2.5.1v2.5.1Ian Cordasco2014-12-231-2/+2
|
* Add release notes for 2.5.1Ian Cordasco2014-12-231-0/+13
|
* Merge pull request #2389 from sigmavirus24/bug/fix-digest-authIan Cordasco2014-12-231-3/+4
|\ | | | | Fix bug in renegotiating a nonce with the server
| * Fix bug in renegotiating a nonce with the serverIan Cordasco2014-12-231-3/+4
|/ | | | | | | | | | | 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.
* Fix error handling on Python 3Ian Cordasco2014-12-161-1/+1
|
* Merge branch 'master' of https://github.com/ContinuousFunction/requests into ↵Ian Cordasco2014-12-162-2/+10
|\ | | | | | | pr/2344
| * Uncommented test in test_requests.pyContinuousFunction2014-12-151-9/+9
| | | | | | | | | | Uncommented test_sesion_pickling in test_requests.py and ran the file to make sure the test passes.
| * Merge branch 'master' of https://github.com/kennethreitz/requestsContinuousFunction2014-12-1528-160/+507
| |\
| * | Changed ConnectionError to InvalidURLContinuousFunction2014-11-172-3/+3
| | |
| * | Partially addresses Issue #1572ContinuousFunction2014-11-152-11/+19
| | | | | | | | | | | | | | | | | | | | | | | | Addresses the LocationParseError but not the DecodeError from kennethreitz#1572. When running test_requests.py, I got an error in test_session_pickling which resulted in a TypeError. I'm not sure of the reason for the TypeError but I have commented out that test.
* | | Merge pull request #2382 from daftshady/exceptionCory Benfield2014-12-161-4/+3
|\ \ \ | |_|/ |/| | catch exception more specifically
| * | catch exception more specifically in Response.okdaftshady2014-12-161-4/+3
|/ /
* | Merge pull request #2381 from namlede/patch-1Cory Benfield2014-12-151-1/+1
|\ \ | | | | | | Fix a typo in a comment
| * | Fix a typo in a commentBen Edelman2014-12-151-1/+1
|/ / | | | | I just fixed a minor typo: "throws" is misspelled as "thows".
* | Merge pull request #2379 from arthurdarcet/masterIan Cordasco2014-12-133-1/+10
|\ \ | | | | | | utils.guess_filename fails if the given parameter looks like a file object but has a non-string name attribute
| * | utils.guess_filename fails if the given parameter looks like a file object ↵Arthur Darcet2014-12-123-1/+10
|/ / | | | | | | | | | | but has a non-string name attribute e.g. a cherrypy uploaded file behave like a regular file, except that its name attribute is an int and passing it directly to requests fails because of that
* | Merge pull request #2374 from krvc/fix_linkIan Cordasco2014-12-081-1/+1
|\ \ | | | | | | Updated the broken link to twitter streaming API documentation
| * | Updated the broken link to twitter streaming API documentationrakesh2014-12-091-1/+1
|/ /
* | Merge pull request #2373 from frewsxcv/patch-1Ian Cordasco2014-12-081-1/+1
|\ \ | | | | | | Enable GitHub syntax highlighting on README
| * | Enable GitHub syntax highlighting on READMECorey Farwell2014-12-081-1/+1
|/ /
* | Merge pull request #2363 from sigmavirus24/fix-testsKenneth Reitz2014-12-021-7/+7
|\ \ | | | | | | Update tests to work offline
| * | Update tests to work offlineIan Cordasco2014-12-011-7/+7
| | |
* | | Merge pull request #2365 from sigmavirus24/release/2.5v2.5.0Ian Cordasco2014-12-012-2/+37
|\ \ \ | |/ / |/| | Release v2.5.0
| * | Bump version to 2.5.0Ian Cordasco2014-12-011-2/+2
| | |
| * | Add updates for 2.5.0Ian Cordasco2014-12-011-0/+35
|/ /
* | Merge pull request #2216 from sigmavirus24/retries-take-2Kenneth Reitz2014-12-013-5/+31
|\ \ | | | | | | Retries logic
| * | Update HTTPAdapter docstringIan Cordasco2014-11-121-1/+3
| | |
| * | Add last few changes and add a quick testIan Cordasco2014-11-123-4/+25
| | |
| * | Update urllib3 to df4ec5cce1Ian Cordasco2014-11-127-26/+97
| | |
| * | Update how we handle retries to be consistent with documentationIan Cordasco2014-11-121-3/+6
| |/
* | updatee chardet, urllib3Kenneth Reitz2014-12-0117-140/+395
| |
* | Merge pull request #2349 from sigmavirus24/fix-picklingKenneth Reitz2014-11-301-3/+12
|\ \ | | | | | | Properly serialize RecentlyUsedContainers for cache
| * | Properly serialize RecentlyUsedContainers for cacheIan Cordasco2014-11-171-3/+12
| | | | | | | | | | | | | | | | | | | | | | | | RecentlyUsedContainers are threadsafe so they require a lock and as such cannot be serialized with pickle directly. To handle it, we need to convert it to a dictionary first and then back when deserializing. Fixes #2345
* | | Merge pull request #2348 from danmichaelo/masterKenneth Reitz2014-11-301-0/+13
|\ \ \ | | | | | | | | Docs: Add more section labels for referencing
| * | | Docs: Add more section labels for referencingDan Michael O. Heggø2014-11-171-0/+13
| | |/ | |/| | | | | | | so sections can be linked from other projects using Intersphinx
* | | Merge pull request #2353 from mattrobenolt/patch-1Kenneth Reitz2014-11-301-1/+1
|\ \ \ | |/ / |/| | url was already parsed, don't urlparse twice
| * | url was already parsed, don't urlparse twiceMatt Robenolt2014-11-231-1/+1
|/ /
* | Merge pull request #2309 from sigmavirus24/add-deprecation-warningsKenneth Reitz2014-11-121-0/+11
|\ \ | | | | | | Add DeprecationWarnings to inform users of plans
| * | Add DeprecationWarnings to inform users of plansIan Cordasco2014-10-261-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | After a long discussion in IRC and on several issues, the developers of requests have decided to remove specific functions from requests.utils in version 3.0.0. To give users ample time to prepare for this, we've added DeprecationWarnings long in advance. See also the planning of this in issue #2266.
* | | Merge pull request #2308 from kevinburke/read-timeout-retryKenneth Reitz2014-11-121-2/+4
|\ \ \ | | | | | | | | Note about read timeout errors and max_retries
| * | | Update documentation about max_retries to reflect codeKevin Burke2014-10-272-4/+4
| | | |
| * | | Note about read timeout errors and max_retriesKevin Burke2014-10-261-0/+2
| |/ /
* | | Merge pull request #2332 from asnelzin/fix-2329Kenneth Reitz2014-11-122-1/+9
|\ \ \ | | | | | | | | Add overriding Content-Length
| * | | Fixed.Alexander Nelzin2014-11-121-1/+1
| | | |
| * | | Added test for overriding Content-Length.Alexander Nelzin2014-11-121-0/+8
| | |/ | |/|
* | | Merge pull request #2326 from sigmavirus24/close-functional-sessionsKenneth Reitz2014-11-121-1/+6
|\ \ \ | | | | | | | | Close sessions created in the functional API
| * | | Close sessions created in the functional APIIan Cordasco2014-11-071-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is related to #1882 and #1685. By calling close on the session, we clear the PoolManager operated by the Session and close all sockets. Fixes #1882 Partially-fixes #1685
* | | | Merge pull request #2333 from akitada/reinit-posIan Cordasco2014-11-121-1/+5
|\ \ \ \ | |_|/ / |/| | | Fix HTTPDigestAuth not to treat non-file as a file
| * | | Fix HTTPDigestAuth not to treat non-file as a fileAkira Kitada2014-11-131-1/+5
|/ / / | | | | | | | | | | | | Ensure pos is set to None when the body is not a file so that HTTPDigestAuth detects the type of the body correctly.
* | | Merge pull request #2299 from mattrobenolt/masterIan Cordasco2014-11-071-1/+3
|\ \ \ | |/ / |/| | Cap the redirect_cache size to prevent memory abuse