Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HEAD Content-Length #15

Open
gaul opened this issue Mar 14, 2017 · 1 comment
Open

HEAD Content-Length #15

gaul opened this issue Mar 14, 2017 · 1 comment

Comments

@gaul
Copy link
Contributor

gaul commented Mar 14, 2017

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

gaul added a commit to gaul/go-httpbin that referenced this issue Mar 14, 2017
@gaul
Copy link
Contributor Author

gaul commented Mar 14, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant