Skip to content

Commit

Permalink
fix: No more BytesWarnings
Browse files Browse the repository at this point in the history
Fixes #1236.

This patch makes all header operations operate on `bytes` and converts all headers and values to bytes before operation. With a follow up patch to `hpack` it should also increase efficiency as currently, `hpack` casts everything to a `str` first before converting back to bytes: https://github.com/python-hyper/hpack/blob/02afcab28ca56eb5259904fd414baa89e9f50266/src/hpack/hpack.py#L150-L151
  • Loading branch information
BYK committed Nov 13, 2024
1 parent 2730c5b commit c95e738
Show file tree
Hide file tree
Showing 7 changed files with 1,154 additions and 1,132 deletions.
Loading

0 comments on commit c95e738

Please sign in to comment.