I see someone modified the net/http module to send chunked request.
That was 4 years ago. Can't that be done directly by the official net/http module without modification?
I see someone modified the net/http module to send chunked request.
That was 4 years ago. Can't that be done directly by the official net/http module without modification?
The net/http package automatically uses chunked encoding for request bodies when the content length is not known and the application did not explicitly set the transfer encoding to "identity". This feature dates back to the Go 1 release.