Add support for trailers #1593
Answered
by
Kludex
sam-kleiner
asked this question in
Ideas
Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
Kludex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I would like to add support for HTTP trailers.
This is already supported in the h11 library so adding this is fairly easy.
I wrote a POC with tests
Uses for this in include returning hashes for validation, expire info, errors during stream, etc.
Here is the output (using my code) of a curl command getting streaming json where an error happens before all json is sent to the client
Beta Was this translation helpful? Give feedback.
All reactions