Support hpack.NeverIndexedHeaderTuple and hpack.HeaderTuple #1626
Replies: 2 comments 3 replies
|
Hi there 👋 Could you describe in a bit more detail what it is you're trying to do, and why? |
|
I'm trying to build a libray for Apple Push Notification service (APNs) with the minimum footprint. There's some APNs library on pip already, but most of them have disadvantages. Thus I decided build my own one. As per APNs document, it requires client not to index authorization header:
However, it seems like nothing goes wrong without doing so. Maybe error only happens at large scale. |
Uh oh!
There was an error while loading. Please reload this page.
Hi there,
I want to send header without indexing, after digging into codebase I found that
SyncHTTP2Stream.send_headersalways extract and build a native tuple. Is there any plan to acepthapck.HeaderTupledirectly ?https://github.com/encode/httpcore/blob/4b662b5c42378a61e54d673b4c949420102379f5/httpcore/_sync/http2.py#L334-L347
hpack.NeverIndexedHeaderTuple
All reactions