net/http: Transport returns chunked Response with ContentLength 0 [js/wasm] #49108
Labels
arch-wasm
WebAssembly issues
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
OS-JS
http.Response.ContentLength should be -1 on a chunked streaming response body without a Content-Length header.
But with js/wasm, it's currently set to 0:
https://github.com/golang/go/blob/master/src/net/http/roundtrip_js.go#L133-L143
/cc @neild @johanbrandhorst
The text was updated successfully, but these errors were encountered: