./www/py-hyperframe, HTTP/2 framing layer for Python

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 6.0.1, Package name: py39-hyperframe-6.0.1, Maintainer: pkgsrc-users

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.

This library is used directly by hyper and a number of other projects to
provide HTTP/2 frame decoding logic.


Required to run:
[devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

RMD160: 80fe234fb9d1f4260a4f83b66436002f79919c9e
Filesize: 24.422 KB

Version history: (Expand)


CVS history: (Expand)


   2021-10-07 17:09:00 by Nia Alarie | Files touched by this commit (1033)
Log message:
www: Remove SHA1 hashes for distfiles
   2021-04-29 10:22:42 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-hyperframe: updated to 6.0.1

6.0.1 (2021-04-17)
------------------

**API Changes (Backward-compatible)**

- Added support for Python 3.9.
- Added type hints.
   2020-10-03 20:10:19 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-hyperframe: updated to 6.0.0

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.
   2019-05-02 10:37:53 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-hyperframe: updated to 5.2.0

5.2.0:
API Changes (Backward-compatible)
- Add a new ENABLE_CONNECT_PROTOCOL settings paramter.

Other Changes
- Fix collections.abc deprecation.
- Drop support for Python 3.3 and support 3.7.
   2017-06-21 11:54:59 by Adam Ciarcinski | Files touched by this commit (2)
Log message:
5.1.0:
**API Changes (Backward-compatible)**
- Added support for ``DataFrame.data`` being a ``memoryview`` object.
   2017-04-14 15:09:08 by Leonardo Taccari | Files touched by this commit (2) | Package updated
Log message:
Update www/py-hyperframe to 5.0.0

Changes:
5.0.0 (2017-03-07)
------------------
**Backwards Incompatible API Changes**
- Added support for unknown extension frames. These will be returned in the new
  ``ExtensionFrame`` object. The flag information for these frames is persisted
  in ``flag_byte`` if needed.

4.0.2 (2017-02-20)
------------------
**Bugfixes**
- Fixed AltSvc stream association, which was incorrectly set to ``'both'``:
  should have been ``'either'``.
- Fixed a bug where stream IDs on received frames were allowed to be 32-bit,
  instead of 31-bit.
- Fixed a bug with frames that had the ``PADDING`` flag set but zero-length
  padding, whose flow-controlled length was calculated wrongly.
- Miscellaneous performance improvements to serialization and parsing logic.

4.0.1 (2016-03-13)
------------------
**Bugfixes**
- Fixed bug with the repr of ``AltSvcFrame``, where building it could throw
  exceptions if the frame had been received from the network.

4.0.0 (2016-03-13)
------------------
**Backwards Incompatible API Changes**
- Updated old ALTSVC frame definition to match the newly specified RFC 7838.
- Remove BLOCKED frame, which was never actually specified.
- Removed previously deprecated ``SettingsFrame.SETTINGS_MAX_FRAME_SIZE`` and
  ``SettingsFrame.SETTINGS_MAX_HEADER_LIST_SIZE``.
   2016-02-16 14:47:31 by Leonardo Taccari | Files touched by this commit (4)
Log message:
Import py-hyperframe-3.2.0 as www/py-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.

This library is used directly by hyper and a number of other projects to
provide HTTP/2 frame decoding logic.