| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix typo. | Ira Lun | 2019-06-21 | 1 | -1/+1 |
| | | |||||
| * | Fix link to RFC. | Ira Lun | 2019-06-21 | 1 | -2/+1 |
| | | |||||
| * | Move comment to outside of list comprehension. | Ira Lun | 2019-06-18 | 1 | -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 Lun | 2019-06-16 | 1 | -2/+4 |
| | | |||||
| * | Remove unnecessary assignment. | Ira Lun | 2019-06-16 | 1 | -3/+2 |
| | | |||||
| * | Combine sorts. | Ira Lun | 2019-06-16 | 1 | -4/+2 |
| | | |||||
| * | support copying accept headers | Michael Merickel | 2018-10-23 | 1 | -0/+92 |
| | | |||||
| * | Cleanup backslash escaping | Bert JW Regeer | 2018-10-18 | 1 | -30/+30 |
| | | |||||
| * | Remove blank line. | Ira Lun | 2018-10-17 | 1 | -1/+0 |
| | | |||||
| * | Remove unused asterisk_non0_found, and rearrange for readability. | Ira Lun | 2018-10-17 | 1 | -12/+6 |
| | | | | | | | `*` ranges with non-0 qvalues are essentially ignored (see https://tools.ietf.org/html/rfc4647#section-3.4, the paragraph starting with 'The special language range "*"...'). | ||||
| * | Fix many flake8 warnings/errors | Bert JW Regeer | 2018-10-15 | 1 | -20/+133 |
| | | |||||
| * | WebOb is now formatted by ambv/black | Bert JW Regeer | 2018-10-14 | 1 | -531/+472 |
| | | | | | | | | 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. | ||||
| * | stop parsing extension params in acceptable_offers and fix comment | Michael Merickel | 2018-10-10 | 1 | -8/+4 |
| | | |||||
| * | support passing around AcceptOffer objects | Michael Merickel | 2018-10-10 | 1 | -8/+40 |
| | | |||||
| * | remove media range support for offers | Michael Merickel | 2018-10-09 | 1 | -79/+9 |
| | | | | | | | | | 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 | ||||
| * | fix comment | Michael Merickel | 2018-10-02 | 1 | -1/+1 |
| | | |||||
| * | further simplify | Michael Merickel | 2018-10-02 | 1 | -7/+6 |
| | | |||||
| * | use Accept.parse_offer to be consistent across the codebase | Michael Merickel | 2018-10-02 | 1 | -20/+25 |
| | | |||||
| * | more clearly define specificity constants | Michael Merickel | 2018-09-27 | 1 | -4/+9 |
| | | |||||
| * | return a named tuple | Michael Merickel | 2018-09-25 | 1 | -2/+27 |
| | | |||||
| * | support a standard api for parsing media types | Michael Merickel | 2018-09-12 | 1 | -4/+47 |
| | | |||||
| * | Merge pull request #370 from mmerickel/acceptable-offers-ranges | Bert JW Regeer | 2018-09-05 | 1 | -7/+32 |
| |\ | | | | | add support for media ranges as offers to acceptable_offers | ||||
| | * | add ranges support to acceptable_offers | Michael Merickel | 2018-09-05 | 1 | -7/+32 |
| | | | |||||
| * | | Clarify comment and remove irrelevant information. | Ira Lun | 2018-09-06 | 1 | -3/+2 |
| |/ | |||||
| * | add comment explaining why we're filtering offers in invalid/missing headers | Michael Merickel | 2018-09-05 | 1 | -0/+3 |
| | | |||||
| * | clarify return type | Michael Merickel | 2018-09-05 | 1 | -2/+2 |
| | | |||||
| * | clarify the filtering comment | Michael Merickel | 2018-09-05 | 1 | -5/+7 |
| | | |||||
| * | fix docstring | Michael Merickel | 2018-09-04 | 1 | -1/+1 |
| | | |||||
| * | do not raise on offers that do not match the media type ABNF | Michael Merickel | 2018-09-03 | 1 | -13/+30 |
| | | |||||
| * | MIMEAccept mimics old behaviour better | Bert JW Regeer | 2018-04-10 | 1 | -9/+66 |
| | | | | | | | | | | | This updates MIMEAccept to mimic old behaviour better so that downstream projects are not as broken. The goal is not to provide the exact same behaviour, and thus MIMEAccept still uses the new Accept header parsing and matching, however it is much closer to the old API because it no longer raises on an invalid header vs what was shipped in WebOb 1.8.0. | ||||
| * | add trailing whitespaces to deprecation warning for MIMEAccept | Steve Piercy | 2018-01-30 | 1 | -2/+2 |
| | | | | | (cherry picked from commit 3fa3311) | ||||
| * | Add MIMEAccept shim that warns about deprecation | Bert JW Regeer | 2018-01-01 | 1 | -1/+21 |
| | | |||||
| * | Add MIMEAccept for backward compatibility. | Ira Lun | 2017-11-06 | 1 | -0/+3 |
| | | |||||
| * | List possible types for all header subclasses. | Ira Lun | 2017-08-29 | 1 | -6/+6 |
| | | |||||
| * | Fix typo. | Ira Lun | 2017-08-29 | 1 | -1/+1 |
| | | |||||
| * | Improve AcceptLanguageValidHeader.basic_filtering. | Ira Lun | 2017-08-29 | 1 | -76/+80 |
| | | | | | | | | | | | | | | | | The main change here is to simplify the handling of duplicate ranges in the header. The RFC does not specify what to do when the same range appears in the header more than once, possibly with different qvalues and giving conflicting information. Previously, we chose which of the possibly conflicting versions of the range to use for matching by first checking if there was one with q=0, which would take priority; if one with q=0 was not found, we chose the one with the highest qvalue. Having given it a lot more thought, it now seems clear that this kind of special handling is not necessary -- the simplest way to handle it is to take the first appearance of the range in the header (from the left) and simple use that for matching. | ||||
| * | Correct method calls in examples. | Ira Lun | 2017-08-29 | 1 | -2/+2 |
| | | |||||
| * | Only retrieve qvalue, as we do not need language_range. | Ira Lun | 2017-08-29 | 1 | -4/+2 |
| | | |||||
| * | Fix markup. | Ira Lun | 2017-08-29 | 1 | -15/+15 |
| | | |||||
| * | Update module docstring. | Ira Lun | 2017-08-29 | 1 | -7/+3 |
| | | |||||
| * | Remove obsolete regex. | Ira Lun | 2017-08-29 | 1 | -3/+0 |
| | | |||||
| * | Remove unused imports. | Ira Lun | 2017-08-29 | 1 | -4/+0 |
| | | |||||
| * | Remove the unused _check_offer. | Ira Lun | 2017-08-29 | 1 | -3/+0 |
| | | |||||
| * | Remove MIMEAccept, MIMENilAccept and NilAccept. | Ira Lun | 2017-08-29 | 1 | -157/+0 |
| | | |||||
| * | Rewrite accept_property and add tests. | Ira Lun | 2017-08-29 | 1 | -22/+62 |
| | | |||||
| * | Add create_accept_header, docs and tests. | Ira Lun | 2017-08-29 | 1 | -0/+22 |
| | | |||||
| * | Add AcceptInvalidHeader class, docs and tests. | Ira Lun | 2017-08-29 | 1 | -0/+113 |
| | | |||||
| * | Add AcceptNoHeader class, docs and tests. | Ira Lun | 2017-08-29 | 1 | -0/+103 |
| | | |||||
| * | Add _AcceptInvalidOrNoHeader class. | Ira Lun | 2017-08-29 | 1 | -0/+202 |
| | | |||||
| * | Add AcceptValidHeader class, docs and tests. | Ira Lun | 2017-08-29 | 1 | -0/+647 |
| | | |||||
