summaryrefslogtreecommitdiff
path: root/requests/models.py
Commit message (Expand)AuthorAgeFilesLines
* Merge remote-tracking branch 'upstream/master' into updating_3.0.0updating_3.0.0Nate Prewitt2018-04-071-2/+2
|\
| * Clarify that Response.ok will *only* return True/FalseAlex Chan2017-11-201-2/+2
* | Map urllib3 ReadTimeoutError to an appropriate ReadTimeout requests exception...VasiliPupkin2562018-01-131-2/+2
* | Merge remote-tracking branch 'upstream/master' into proposed/3.0.0Nate Prewitt2017-10-151-2/+6
|\ \ | |/
| * remove legacy super() callMark Szymanski2017-07-261-2/+0
| * Allow Requests.Response to be used as a context managerEd Morley2017-06-061-0/+6
* | Use comprehensions whenever possibleHugo Osvaldo Barrera2017-07-141-4/+1
* | Clean up invalid indentation from mergeCory Benfield2017-05-311-1/+1
* | Clean up flake8 errors from mergeCory Benfield2017-05-311-2/+2
* | Merge branch 'master' into proposed/3.0.0Cory Benfield2017-05-311-22/+24
|\ \ | |/
| * cleanup models.pyKenneth Reitz2017-05-291-4/+6
| * new requests namespaceKenneth Reitz2017-05-291-2/+2
| * fix models.pyKenneth Reitz2017-05-261-7/+1
| * fix models.pyKenneth Reitz2017-05-261-5/+6
| * remove Request.send(session)Kenneth Reitz2017-05-261-6/+2
| * who wrote this shitKenneth Reitz2017-05-261-2/+4
| * API improvementsKenneth Reitz2017-05-261-0/+8
* | Merge branch 'master' into proposed/3.0.0Nate Prewitt2017-05-211-3/+10
|\ \ | |/
| * Remove some unused imports.Chris Gavin2017-04-251-2/+2
| * Fixes DeprecationWarnings in Python 3.6 due to invalid escape sequences. Fixe...Ruben Dura Tari2017-04-051-1/+1
| * Update docstrings for Response.__{bool,nonzero}__Ian Cordasco2017-02-161-2/+14
| * Correct docstring for Response.okIan Cordasco2017-02-161-1/+7
| * added docstring for response.ok propertyMislav Cimpersˌak2017-02-161-0/+1
* | Fix the additional newline generated by iter_lines() caused by a '\r\n' pair ...Hong Jen-Yee (PCMan)2017-04-261-0/+21
* | use [-1] instead of endswith() to work with bytes or stringVincent Barbaresi2017-03-151-1/+1
* | add explanatory comment about skipping null chunks in iter_linesVincent Barbaresi2017-03-151-1/+4
* | remove useless brackets in iter_lines boolean conditionVincent Barbaresi2017-03-151-1/+1
* | Review markups for @LukasaAlex Chan2017-03-141-10/+17
* | Fix bug when delimiter is split between responsesIan Epperson2017-03-141-5/+18
* | use InvalidHeader instead of ConflictingHeaderErrorNate Prewitt2017-03-011-3/+6
* | consolidate super_len code and cleanup docstringsNate Prewitt2017-02-281-17/+11
* | Change UnreachableCodeError to InvalidBodyError.Casey Davidson2017-02-281-1/+1
* | Small fixes based on feedback in pull request.Casey Davidson2017-02-281-1/+1
* | Raise an error if body is not null, has not length and is not streamable.Casey Davidson2017-02-281-0/+2
* | Alternate fix for 3066 to refactor prepare_body to always call prepare_conten...Casey Davidson2017-02-281-24/+26
* | Make Response.raise_for_status() return the response object if the response i...Rotem Yaari2017-02-121-1/+4
* | Merge branch 'master' into proposed/3.0.0Cory Benfield2017-02-101-11/+27
|\ \ | |/
| * lazily load idna libraryMoin2017-01-171-11/+27
* | Merge branch 'master' into proposed/3.0.0Cory Benfield2016-12-081-8/+14
|\ \ | |/
| * Revert "Restrict URL preparation to HTTP/HTTPS"Cory Benfield2016-11-301-3/+3
| * Merge pull request #3695 from nateprewitt/idna_bypassCory Benfield2016-11-251-3/+9
| |\
| | * modifying IDNA encoding check to allow fallbackNate Prewitt2016-11-211-3/+9
| * | Make Response.content return None if raw is NoneNicola Soranzo2016-11-241-1/+1
| * | Make Response.content() return None if status_code is NoneNicola Soranzo2016-11-231-1/+1
| * | Restrict URL preparation to HTTP/HTTPSChristian Heimes2016-11-211-3/+3
| * | Just lstrip instead of strip because trailing whitespace already works.Hussain2016-11-161-2/+2
| * | Fixed issue #3696. Added a test for it as well.Hussain2016-11-161-0/+3
| |/
* | add enforce_content_length=True defaultNate Prewitt2016-11-151-2/+6
* | Merge branch 'master' into proposed/3.0.0Cory Benfield2016-11-151-27/+42
|\ \ | |/
| * Document that Response.json() may raise ValueErrorChris Martin2016-11-101-0/+1