summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Replace setDaemon with just setting the attributeBert JW Regeer2022-05-241-1/+1
|
* Run pyupgrade --py37-plus across codebaseBert JW Regeer2022-05-247-12/+12
|
* deflate'd response: use RFC compliant decompression by defaultTobias Kölling2020-12-091-0/+13
| | | | | | | | | | | | | | | | | | | | | | [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-281-1/+2
|
* Rely on compare_digest instead of strings_differBert JW Regeer2020-11-281-51/+2
|
* Format using isort/black to satisfy linterBert JW Regeer2020-11-2820-95/+124
|
* set() -> {}Bert JW Regeer2020-11-281-1/+1
|
* Drop u"" prefixBert JW Regeer2020-11-281-2/+2
|
* Remove unnecesary encode to latin-1Bert JW Regeer2020-11-281-1/+1
|
* Remove coding lineBert JW Regeer2020-11-281-2/+0
|
* Catch/raise OSError instead of IOErrorBert JW Regeer2020-11-283-3/+3
|
* Cleanup comprehensionBert JW Regeer2020-11-281-1/+1
|
* Drop object from class definitionBert JW Regeer2020-11-2816-145/+145
|
* Add test for _encode_multipart which is not public APIBert JW Regeer2020-11-281-0/+26
|
* Test was modified in 254f7a68 accidentallyBert JW Regeer2020-11-281-1/+1
|
* Add missing test for coverageBert JW Regeer2020-11-281-4/+9
|
* s/isAlive/is_alive/Bert JW Regeer2020-11-281-1/+1
|
* Remove __unicode__Bert JW Regeer2020-11-282-11/+6
|
* header_getter now checks value type before usingBert JW Regeer2020-11-281-0/+10
|
* parsedate_tz defaults to UTCBert JW Regeer2020-11-281-45/+31
| | | | So if the timezone is missing, we no longer need to manually add it.
* Import from collections.abc directlyBert JW Regeer2020-11-282-8/+4
|
* Remove native_ and move bytes_, text_ to webob.utilBert JW Regeer2020-11-2812-51/+50
| | | | | | | | 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`
* Goodbye to compat.{string_types,integer_types,class_types,text_type,long}Bert JW Regeer2020-11-282-17/+14
|
* Remove compat.reraiseBert JW Regeer2020-11-281-9/+8
|
* Remove old kwargs from BaseRequestBert JW Regeer2020-11-281-26/+0
|
* Remove expires kwarg to set_cookieBert JW Regeer2020-11-281-67/+0
|
* Goodbye compat.PY2 linesBert JW Regeer2020-11-284-49/+4
|
* cgi.FieldStorage.__repr__ patch moves to compatBert JW Regeer2020-11-281-2/+2
|
* Goodbye FakeCGIBodyBert JW Regeer2020-11-281-106/+0
|
* Remove LegacyRequestBert JW Regeer2020-11-282-685/+0
|
* add return value to webob.Response.writeGouji Ochiai2020-10-171-7/+7
|
* Run `tox -r -e run-black` for v20.8b1Steve Piercy2020-10-122-7/+7
|
* Rewind body_file_raw after parsing in POSTPeter Lazorchak2020-06-021-0/+15
|
* updated tests to use monkeypatchjonathan vanasco2019-12-191-20/+16
|
* ran `black` on tests/; only ran it on src/ before.jonathan vanasco2019-12-191-0/+1
|
* disable validating the SameSite value, if/when the cookie spec changes againjonathan vanasco2019-12-191-0/+30
|
* Added cookie attributes check: raises ValueError if samesite equals 'none' ↵marc1n2019-12-181-4/+13
| | | | but secure is not True
* Style fixMarcin Raczyński2019-12-031-1/+1
|
* #406 Added teststs for samesite='None'Marcin Raczyński2019-11-291-3/+11
|
* Bring coverage back to 100%Bert JW Regeer2018-11-111-0/+9
|
* Add failing testBert JW Regeer2018-11-111-0/+7
| | | | Only fails on Python 2.7
* support copying accept headersMichael Merickel2018-10-231-0/+36
|
* Fix escaping in bytesBert JW Regeer2018-10-181-1/+1
|
* Fix many flake8 warnings/errorsBert JW Regeer2018-10-1514-61/+110
|
* WebOb is now formatted by ambv/blackBert JW Regeer2018-10-1425-7073/+7731
| | | | | | | All future commits will be required to format their code using Python black. This also hooks up linting and all that fun stuff to enforce it.
* support passing around AcceptOffer objectsMichael Merickel2018-10-101-5/+21
|
* remove media range support for offersMichael Merickel2018-10-091-17/+8
| | | | | | | | see the multitude of reasons in https://github.com/Pylons/pyramid/pull/3326 the short answer is that they are fundamentally broken in that media ranges cannot properly match against any accept header with q=0 content
* Merge branch 'fix-warnings' into accept-parse-offerMichael Merickel2018-10-094-18/+129
|\
| * fix test suite warningsMichael Merickel2018-10-064-16/+127
| |
| * use collections.abc for abc types if availableMichael Merickel2018-10-061-2/+2
| | | | | | | | | | collections.MutableMapping and other abc types were deprecated in 3.3 and will be removed in 3.8