diff options
| author | Piotr Sarna <sarna@chiselstrike.com> | 2023-06-19 11:31:30 +0200 |
|---|---|---|
| committer | Veikka Tuominen <git@vexu.eu> | 2023-06-22 11:44:46 +0300 |
| commit | 438d680913393d42754ea1d27c7c50ef1698d0ff (patch) | |
| tree | d3b853b46dfd53e0ca0f42aa9ee5d92a639656f4 /src/codegen/c.zig | |
| parent | 1d38817f5d7bf3fec6294bfb112f7f9e609078d5 (diff) | |
| download | zig-438d680913393d42754ea1d27c7c50ef1698d0ff.tar.gz zig-438d680913393d42754ea1d27c7c50ef1698d0ff.zip | |
http: fix getting Transfer-Encoding value
The 'Content-Length' header was inspected by mistake,
which makes it effectively impossible to use chunked
Transfer-Encoding when using the http client.
Tested locally with a HTTP server - data is properly sent
with POST method and the proper encoding declared, after the fix.
Diffstat (limited to 'src/codegen/c.zig')
0 files changed, 0 insertions, 0 deletions
