summaryrefslogtreecommitdiff
path: root/test/test_response.py
Commit message (Expand)AuthorAgeFilesLines
* Fix multi-frame Zstandard response decodingRogdham2023-05-141-0/+19
* Fix HTTPResponse.read(0) when underlying buffer is empty (#2998)Quentin Pradet2023-04-291-0/+3
* Fixed coverage regression when zstd >= 0.20 is installedTAHRI Ahmed R2023-03-311-0/+9
* Use the typing namespace and from __future__ import annotationsBastian Venthur2022-11-211-9/+11
* apply suggestion from @pquentinOusret2022-11-201-8/+4
* fix missed coverage when calling read() having amt=NoneOusret2022-11-201-0/+9
* Prevent issue in HTTPResponse().read() when decoded_content is True and then ...Ousret2022-11-201-0/+35
* Clarify that getheaders() returns HTTPHeaderDictQuentin Pradet2022-11-201-1/+2
* Restore but deprecate HTTPResponse.getheaders() and .getheader() methodsQuentin Pradet2022-11-171-2/+10
* Standardize HTTPResponse.read(X) behavior regardless of compressionQuentin Pradet2022-11-141-20/+137
* Use io.IOBase for readable, closed, and writeableSeth Michael Larson2022-11-071-1/+24
* Add support for decoding ZstandardMauro Amico2022-06-231-2/+35
* Update mypy to 0.930Hasan Ramezani2021-12-221-28/+28
* Add type hints to test.test_responseHasan Ramezani2021-10-161-152/+163
* Allow setting HTTPResponse.urlQuentin Pradet2021-08-031-0/+8
* Add coverage for all raise branchesBastian Venthur2021-05-221-0/+10
* Add defensive test cases for brotlipySeth Michael Larson2021-02-081-4/+4
* Use match parameter in pytest.raises()Hasan Ramezani2020-12-291-9/+4
* Change return type of HTTPResponse.getheaders() to match CPythonSeth Michael Larson2020-11-281-1/+1
* Remove six (#2078)Hasan Ramezani2020-11-231-2/+1
* Remove support for Python 2 and 3.5Hugo van Kemenade2020-11-151-25/+15
* Sort imports with 'isort'Quentin Pradet2020-10-011-13/+10
* Wrap BaseSSLError into SSLError during response readsSeth Michael Larson2020-08-311-0/+27
* Update docs for an old Python version testhodbn2020-06-091-1/+1
* Test buggy incomplete readhodbn2020-06-091-0/+20
* Add InvalidChunkLength errorhodbn2020-06-091-5/+34
* doco: Fix small typos (#1860)Tim Gates2020-04-201-1/+1
* Empty responses should have no lines.Benjamin Peterson2020-01-141-1/+2
* Fix PyPy tests (#1694)Quentin Pradet2019-09-251-2/+3
* Add optional auto_close parameter to HTTPResponse (#1652)George Sakkis2019-07-261-1/+78
* Fix typo (#1654)Min ho Kim2019-07-261-1/+1
* Ignore flake8 errors that are introduced deliberately by black (#1631)Ratan Kulshreshtha2019-06-041-4/+4
* Auto formatting using blackRatan Kulshreshtha2019-05-251-194/+234
* Add support for brotli content encoding via brotlipy package (#1532)dennis again2019-01-291-1/+32
* Create a more efficient HTTPResponse.__iter__() method (#1484)Seth M. Larson2018-11-281-0/+35
* Handle multiple Content-Encodings (#1442)Justin Bramley2018-09-171-0/+32
* Remove more Python 2.6 code (#1430)Quentin Pradet2018-08-241-17/+0
* add unit testsChris Wilcox2018-04-271-1/+19
* Merge remote-tracking branch 'upstream/master'Shay Erlichmen2018-02-211-12/+48
|\
| * Handle gzip responses with multiple membersIsaac To2017-12-191-12/+48
* | add coverage to response.isclosed()Shay Erlichmen2018-01-011-0/+2
|/
* Release connection on chunked HEAD response.Timur Alperovich2017-07-211-0/+17
* Once more, with feelingAlex Chan2017-06-141-1/+4
* HTTPResponse is only a context manager in Python 3Alex Chan2017-06-141-1/+4
* Rewrite test_response.py to be pytest-styleAlex Chan2017-06-141-164/+147
* Clean up the socket and the HTTPResponseAlex Chan2017-06-111-0/+2
* Clean up a few more leaked FDs in testsAlex Chan2017-06-111-2/+6
* Stop buffering entire deflate-encoded responsesTim Burke2017-03-081-1/+12
* E265 Block comment should start with `# `.Seth Michael Larson2017-01-231-1/+1
* E128 Continuation line under-indented for visual indentSeth Michael Larson2017-01-231-5/+5