go-httpbin icon indicating copy to clipboard operation
go-httpbin copied to clipboard

HEAD Content-Length

Open gaul opened this issue 8 years ago • 1 comments

go-httpbin does not return Content-Length in some cases. Follow on to #9.

gaul avatar Mar 14 '17 05:03 gaul

I suspect that go can automatically generate Content-Length for small responses, but we must buffer larger ones in-memory to generate the lengths.

gaul avatar Mar 14 '17 05:03 gaul