HTTP/2 framing layer for Python

Edit Package python-hyperframe

This library contains the HTTP/2 framing code used in the hyper project.
It provides a pure-Python codebase that is capable of decoding a binary
stream into HTTP/2 frames.

Refresh
Refresh
Source Files
Filename Size Changed
hyperframe-6.0.0.tar.gz 0000024640 24.1 KB
python-hyperframe.changes 0000003646 3.56 KB
python-hyperframe.spec 0000001831 1.79 KB
Revision 6 (latest revision is 8)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 834211 from Steve Kowalik's avatar Steve Kowalik (StevenK) (revision 6)
- Update to 6.0.0:
  * API Changes (Backward-incompatible)
    + Introduce ``HyperframeError`` base exception class for all errors
      raised within hyperframe.
    + Change exception base class of ``UnknownFrameError`` to
      ``HyperframeError``
    + Change exception base class of ``InvalidPaddingError`` to
      ``HyperframeError``
    + Change exception base class of ``InvalidFrameError`` to
      ``HyperframeError``
    + Invalid frames with wrong stream id (zero vs. non-zero) now raise
      ``InvalidDataError``.
    + Invalid SETTINGS frames (non-empty but ACK) now raise
      ``InvalidDataError``.
    + Invalid ALTSVC frames with non-bytestring field or origin now raise
      ``InvalidDataError``.
  * API Changes (Backward-compatible)
    + Deprecate ``total_padding`` - use `pad_length` instead.
    + Improve repr() output for all frame classes.
    + Introduce Frame.explain(data) for quick introspection of raw data.
  * Bugfixes
    + Fixed padding parsing for ``PushPromiseFrame``.
    + Fixed unchecked frame length for ``PriorityFrame``. It now correctly
      raises ``InvalidFrameError``.
    + Fixed promised stream id validation for ``PushPromiseFrame``. It now
      raises ``InvalidDataError``.
    + Fixed unchecked frame length for ``WindowUpdateFrame``. It now correctly
      raises ``InvalidFrameError``.
    + Fixed window increment value range validation. It now raises
      ``InvalidDataError``.
    + Fixed parsing of ``SettingsFrame`` with mutual exclusion of ACK flag and
      payload.
  * Other Changes
    + Removed support for Python 2.7, 3.4, 3.5, pypy.
    + Added support for Python 3.8.
Comments 0
openSUSE Build Service is sponsored by