h11
h11 copied to clipboard
A pure-Python, bring-your-own-I/O implementation of HTTP/1.1
It's security-critical that ReceiveBuffer's methods have linear worst-case complexity, and the code we use to accomplish this is non-trivial. There should be tests that we have successfully avoided the O(n^2)...
The latter are much easier to work with when type hinting and can be used successfully with mypyc, whereas the former are sadly very difficult in both aspects. This loses...
Bumps [black](https://github.com/psf/black) from 23.3.0 to 24.3.0. Release notes Sourced from black's releases. 24.3.0 Highlights This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black...
In #159 the `h11/tests` directory was removed from wheels, but unfortunately it was also removed from sdists. This PR adds it back to sdists and maintains its absence in wheels....
- Closes https://github.com/python-hyper/h11/issues/156 This needs: - [ ] https://github.com/python-hyper/h11/pull/172
I'm currently working with h11 v0.14.0 and python 3.10 and I'm attempting to monkeypatch the h11._headers.normalize_and_validate method to customize its behavior. However, I've encountered an issue where the native function...
[socket.recv_into()][1] accepts a Python writable buffer to receive socket data without any copy. To take advantage of that asyncio have added a Protocol interface for [buffered streaming protocols][2] suitable for...
The sdist package at PyPI is missing `tox.ini`. Please add the missing `tox.ini` file to sdist to make downstream testing easier. Thank you.
Hi there :wave: I was trying to improve the test coverage on Uvicorn, and I noticed something interesting... The server can't send `connection: close` headers on Response. If you set...
The latest release is september 2022, and while there hasn't been a ton of activity since I'd personally love to have the improved types from #161. It also wouldn't hurt...