summaryrefslogtreecommitdiff
path: root/tests/test_acceptparse.py
Commit message (Expand)AuthorAgeFilesLines
* Format using isort/black to satisfy linterBert JW Regeer2020-11-281-0/+1
* Drop object from class definitionBert JW Regeer2020-11-281-90/+90
* support copying accept headersMichael Merickel2018-10-231-0/+36
* WebOb is now formatted by ambv/blackBert JW Regeer2018-10-141-3400/+3244
* support passing around AcceptOffer objectsMichael Merickel2018-10-101-5/+21
* remove media range support for offersMichael Merickel2018-10-091-17/+8
* Merge branch 'fix-warnings' into accept-parse-offerMichael Merickel2018-10-091-0/+94
|\
| * fix test suite warningsMichael Merickel2018-10-061-0/+94
* | further simplifyMichael Merickel2018-10-021-0/+5
* | more clearly define specificity constantsMichael Merickel2018-09-271-2/+2
* | return a named tupleMichael Merickel2018-09-251-11/+19
* | support a standard api for parsing media typesMichael Merickel2018-09-121-0/+27
|/
* Move tests to respective test classes, and test with the same params.Ira Lun2018-09-081-19/+40
* assert that "*/*" doesn't match "Accept: " as client won't accept anythingMichael Merickel2018-09-051-0/+5
* add ranges support to acceptable_offersMichael Merickel2018-09-051-0/+15
* do not raise on offers that do not match the media type ABNFMichael Merickel2018-09-031-9/+23
* MIMEAccept mimics old behaviour betterBert JW Regeer2018-04-101-1/+80
* Verify warning is raised when calling MIMEAccept's initBert JW Regeer2018-01-011-3/+15
* Place methods in alphabetical order.Ira Lun2017-08-291-45/+45
* Place imports in alphabetical order.Ira Lun2017-08-291-3/+3
* Improve AcceptLanguageValidHeader.basic_filtering.Ira Lun2017-08-291-23/+41
* Remove obsolete tests.Ira Lun2017-08-291-340/+0
* Rewrite accept_property and add tests.Ira Lun2017-08-291-0/+176
* Add create_accept_header, docs and tests.Ira Lun2017-08-291-0/+21
* Add AcceptInvalidHeader class, docs and tests.Ira Lun2017-08-291-0/+399
* Add AcceptNoHeader class, docs and tests.Ira Lun2017-08-291-0/+396
* Add AcceptValidHeader class, docs and tests.Ira Lun2017-08-291-0/+722
* Rewrite Accept class, and add docs and tests.Ira Lun2017-08-291-0/+256
* Add accept_charset_property, docs and tests.Ira Lun2017-08-291-0/+116
* Add create_accept_charset_header, docs and tests.Ira Lun2017-08-291-0/+21
* Add AcceptCharsetInvalidHeader class, docs and tests.Ira Lun2017-08-291-0/+213
* Add AcceptCharsetNoHeader class, docs and tests.Ira Lun2017-08-291-0/+229
* Add AcceptCharsetValidHeader class, docs and tests.Ira Lun2017-08-291-0/+367
* Remove obsolete tests.Ira Lun2017-08-291-15/+0
* Rewrite AcceptCharset class, and add docs and tests.Ira Lun2017-08-291-0/+53
* Remove now-unused NoAccept class.Ira Lun2017-08-291-6/+0
* Add Accept-Encoding-related imports.Ira Lun2017-08-291-0/+5
* Add accept_encoding_property and tests.Ira Lun2017-08-291-0/+115
* Add create_accept_encoding_header, docs and tests.Ira Lun2017-08-291-0/+20
* Add AcceptEncodingInvalidHeader class, docs and tests.Ira Lun2017-08-291-0/+268
* Add AcceptEncodingNoHeader class, docs and tests.Ira Lun2017-08-291-0/+266
* Add AcceptEncodingValidHeader class, docs and tests.Ira Lun2017-08-291-0/+387
* Rewrite AcceptEncoding class and add docs and tests.Ira Lun2017-08-291-0/+53
* Fix incorrect test.Ira Lun2017-08-281-3/+3
* Move .parse from AcceptLanguageValidHeader to AcceptLanguage.Ira Lun2017-08-241-3/+5
* Check and raise instead of using asserts.Ira Lun2017-08-231-4/+4
* Fix missing commas and spacing in single-element tuples.Ira Lun2017-08-211-10/+10
* Treat invalid header values like ``NoHeader``s when __add__ing.Ira Lun2017-08-101-581/+211
* Change test imports to module scope.Ira Lun2017-08-021-347/+205
* Add functions to help with forming the regexes for parsing the headers.Ira Lun2017-07-291-87/+113