h11 icon indicating copy to clipboard operation
h11 copied to clipboard

A pure-Python, bring-your-own-I/O implementation of HTTP/1.1

Results 48 h11 issues
Sort by recently updated
recently updated
newest added

I want to report an inconsistent behavior we've observed. It affects production, was very confusing and hard to understand/debug. Initially we had a replica set of `hypercorn`-based applications, and the...

Fix typos discovered by codespell - https://pypi.org/project/codespell % `codespell --ignore-words-list=canbe,hel,te` ``` ./h11/_headers.py:47: occurences ==> occurrences ./h11/_headers.py:84: comparisions ==> comparisons ./h11/tests/test_connection.py:655: re-use ==> reuse ./h11/tests/test_state.py:242: Succesful ==> Successful ./docs/source/api.rst:205: re-use ==>...

Also test PyPy3.11, because the latest releases no longer contain PyPy3.9 or PyPy3.10: https://pypy.org/posts/2025/07/pypy-v7320-release.html (We could also drop Python 3.9, it's EOL next month: https://devguide.python.org/versions/) Edit: 3.9 now also dropped.

> I saw a book entitled "Die setup.py" and I thought "My feelings exactly". Turns out the book was in German. (Paraphrased). This brings h11 into the glorious future year...

Fixes #182 `maybe_read_from_IDLE_client` and `maybe_read_from_SEND_RESPONSE_server` readers wait for concrete terminators and produce NEED_DATA events until that. After NEED_DATA `max_incomplete_event_size` limit is checked. Here I'm adding consistent size limits for these...

This is a near copy-paste of https://github.com/python-hyper/h2/issues/1305 Mypy 1.16 added [`--strict-bytes`](https://mypy.readthedocs.io/en/stable/command_line.html#cmdoption-mypy-strict-bytes) to `--strict`, and plans to enable it by default in mypy 2.0. As far as I can tell the...

This test was not actually testing what it should — `max_incomplete_event_size` limit is only checked for incomplete events, for request before `"\r\n\r\n"`. `get_all_events()` before `"\r\n\r\n"` conditionally raises an exception depending...