python-HTTPolice

Edit Package python-HTTPolice

HTTPolice is a validator or “linter” for HTTP requests and responses.

It can spot bad header syntax, inappropriate status codes, and other potential problems in your HTTP server or client.

Refresh
Refresh
Source Files
Filename Size Changed
HTTPolice-0.7.0.tar.gz 0000421804 412 KB
py34-no-singledispatch.patch 0000003505 3.42 KB
python-HTTPolice.changes 0000002017 1.97 KB
python-HTTPolice.spec 0000002769 2.7 KB
Revision 1 (latest revision is 6)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 679177 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 1)
- Fix Python 3 tests
- Add py34-no-singledispatch.patch to remove unnecessary 'singledispatch'
  dependency, which is a backport from Python 3.4
- Update to v0.7.0
  * Changes
    + Reflecting changes in RFC 8187 and RFC 8259,
      notices 1253 (bad charset) and 1281 (bad encoding for JSON)
      are now reported for all encodings other than UTF-8, and
      notice 1255 (ISO-8859-1 in Content-Disposition) has been removed.
  * Added
    + Checks for quoted commas and semicolons that might confuse a naive parser
      (notices 1299 and 1300).
    + New checks for Link headers according to RFC 8288 (notices 1307,
      1308, and 1309).
    + Checks for immutable responses (notices 1301, 1302, and 1303).
    + Early hints are now recognized (due to their idiosyncratic semantics,
      they avoid many checks that are applied to all other responses).
    + Checks for the Accept-Post header (notice 1310).
    + Check for no Transfer-Encoding in response to HTTP/1.0 (notice 1306).
    + Check for 100 (Continue) before switching protocols (notice 1305).
    + Check that the sequence of responses to a request makes sense
      (notice 1304).
    + HAR files exported from Chrome and Insomnia are handled slightly better.
  * Fixed
    + Headers like Allow and Accept are now parsed more correctly
      (RFC Errata 5257).
    + gzip-encoded payloads are now decompressed more reliably.
    + When analyzing TCP streams, HTTPolice now uses a stricter heuristic
      for detecting HTTP/1.x streams, producing fewer spurious 1006/1009
      notices.
    + Notice 1291 (Preference-Applied needs Vary) is no longer reported
      on responses to POST.
- Use %license
- Remove unnecessary build dependencies
- Add more minimum versions
- Initial version
Comments 0
openSUSE Build Service is sponsored by