HTTP server may not read chunked encoding response body again #15370
Labels
bug
Observed behavior contradicts documented or intended behavior
standard library
This issue involves writing Zig code for the standard library.
Milestone
Zig Version
0.11.0-dev.2682+d80e6ca5a
Steps to Reproduce and Observed Behavior
Here is server.zig.
Run
zig run server.zig
and request with curl as follows and then I had an error.Here is the server log.
The comments begining with

!!!!
were added by me like the follwing positions:A request with fixed length body works as follows.
Expected Behavior
Reference
Trailer example in MDN
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Trailer
The text was updated successfully, but these errors were encountered: