summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Make black happyBert JW Regeer2022-05-243-11/+9
|
* Run pyupgrade --py37-plus across codebaseBert JW Regeer2022-05-2415-64/+64
|
* deflate'd response: use RFC compliant decompression by defaultTobias Kölling2020-12-091-2/+9
| | | | | | | | | | | | | | | | | | | | | | [RFC7230](https://tools.ietf.org/html/rfc7230#section-4.2.2) specifies that > The "deflate" coding is a "zlib" data format [RFC1950](https://tools.ietf.org/html/rfc1950) containing a > "deflate" compressed data stream [RFC1951](https://tools.ietf.org/html/rfc1951) that uses a combination of > the Lempel-Ziv (LZ77) compression algorithm and Huffman coding. but also > Note: Some non-conformant implementations send the "deflate" > compressed data without the zlib wrapper. Thus deflate coded data should be expected to be received within a "zlib" container, however if no container is present, the data shouldn't be rejected. This patch tries to decode that data using RFC7230 conformant decoding and falls back to unwrapped decoding only if the previous attempt didn't work.
* Move items out of compat: url_parse/url_unquote and moreBert JW Regeer2020-11-287-56/+69
|
* Rely on compare_digest instead of strings_differBert JW Regeer2020-11-282-42/+2
|
* Format using isort/black to satisfy linterBert JW Regeer2020-11-2811-32/+24
|
* yield from instead of loop + yieldBert JW Regeer2020-11-282-8/+4
|
* Catch/raise OSError instead of IOErrorBert JW Regeer2020-11-281-3/+3
|
* Use bare super()Bert JW Regeer2020-11-281-2/+2
|
* Cleanup comprehensionBert JW Regeer2020-11-283-8/+8
|
* Drop object from class definitionBert JW Regeer2020-11-2812-35/+35
|
* Add test for _encode_multipart which is not public APIBert JW Regeer2020-11-281-1/+1
|
* Remove __unicode__Bert JW Regeer2020-11-282-9/+1
|
* Remove duplicate isinstance checksBert JW Regeer2020-11-281-7/+0
|
* Remove no longer reachable checkBert JW Regeer2020-11-281-13/+0
| | | | | Python will raise a TypeError for us when any part of the app_iter contains a non-byte object.
* header_getter now checks value type before usingBert JW Regeer2020-11-281-2/+2
|
* parsedate_tz defaults to UTCBert JW Regeer2020-11-281-3/+0
| | | | So if the timezone is missing, we no longer need to manually add it.
* Make function more pythonicBert JW Regeer2020-11-281-5/+3
|
* Cleanup documentationBert JW Regeer2020-11-281-2/+2
|
* Import from collections.abc directlyBert JW Regeer2020-11-284-7/+25
|
* Remove native_ and move bytes_, text_ to webob.utilBert JW Regeer2020-11-288-77/+388
| | | | | | | | This removes any calls to `native_`, most of which should have been calls to `text_` in the first place. Also moves `bytes_` and `text_` to `webob.util` where they are more at home as we continue to remove items from `webob.compat`
* Remove compat.iter{values_,items_}Bert JW Regeer2020-11-283-15/+6
|
* Goodbye to compat.{string_types,integer_types,class_types,text_type,long}Bert JW Regeer2020-11-2810-47/+36
|
* Remove dead codeBert JW Regeer2020-11-281-3/+1
|
* Remove compat.reraiseBert JW Regeer2020-11-282-9/+2
|
* Remove old kwargs from BaseRequestBert JW Regeer2020-11-281-32/+2
|
* No longer monkeypatch paste HTTP exceptionsBert JW Regeer2020-11-281-19/+0
|
* Remove expires kwarg to set_cookieBert JW Regeer2020-11-281-43/+0
|
* compat is now Py3 onlyBert JW Regeer2020-11-281-116/+58
|
* Goodbye compat.PY2 linesBert JW Regeer2020-11-286-223/+68
|
* cgi.FieldStorage.__repr__ patch moves to compatBert JW Regeer2020-11-282-103/+101
|
* Goodbye FakeCGIBodyBert JW Regeer2020-11-281-53/+0
|
* Remove LegacyRequestBert JW Regeer2020-11-282-16/+3
|
* add return value to webob.Response.writeGouji Ochiai2020-10-171-1/+3
|
* Run `tox -r -e run-black` for v20.8b1Steve Piercy2020-10-125-27/+27
|
* Fix doc linkbwduncan2020-10-121-1/+1
| | | #418
* Rewind body_file_raw after parsing in POSTPeter Lazorchak2020-06-021-0/+1
|
* Remove RFC section on REMOTE_HOSTBert JW Regeer2020-01-211-1/+1
| | | | | | It's wrong, and doesn't exist in the linked to RFC Closes #392
* Update documentation surrounding SameSite supportBert JW Regeer2020-01-211-7/+22
|
* disable validating the SameSite value, if/when the cookie spec changes againjonathan vanasco2019-12-191-3/+19
|
* Style fixmarc1n2019-12-181-3/+3
|
* Better exception message and style fixmarc1n2019-12-181-2/+3
|
* Added cookie attributes check: raises ValueError if samesite equals 'none' ↵marc1n2019-12-181-0/+4
| | | | but secure is not True
* Oxford comma addedMarcin Raczyński2019-12-031-1/+1
|
* #406 Docstring update (new samesite value: 'none')Marcin Raczyński2019-11-291-1/+1
|
* #406 set_cookie allows samesite='none' valueMarcin Raczyński2019-11-291-8/+8
|
* Fix typo.Ira Lun2019-06-211-1/+1
|
* Fix link to RFC.Ira Lun2019-06-211-2/+1
|
* Move comment to outside of list comprehension.Ira Lun2019-06-181-5/+2
| | | | | | | This is to avoid issues with a bug in Black (see https://github.com/Pylons/webob/pull/401#discussion_r294533700.) Also, make the comment slightly more helpful.
* Rearrange lines to make Black happy.Ira Lun2019-06-161-2/+4
|