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

net/http/httputil: missing Content-Length header in DumpResponse output #5357

Closed
AlekSi opened this issue Apr 26, 2013 · 8 comments
Closed
Labels
FrozenDueToAge Suggested Issues that may be good for new contributors looking for work to do.
Milestone

Comments

@AlekSi
Copy link
Contributor

AlekSi commented Apr 26, 2013

What steps will reproduce the problem?
http://play.golang.org/p/TJYo-YBUZ5

What is the expected output?
Output has Content-Length header.

What do you see instead?
No Content-Length in output.

Which version are you using?  (run 'go version')
Both 1.0.3 and tip.

Please provide any additional information below.
Content-Length is clearly present in response. There is no need to drain body in this
case.
@bradfitz
Copy link
Contributor

Comment 1:

Related: issue #5381
See comment there: https://golang.org/issue/5381?c=4

Labels changed: added priority-later, suggested, removed priority-triage.

Status changed to Accepted.

@rsc
Copy link
Contributor

rsc commented Jul 30, 2013

Comment 2:

Labels changed: added go1.2maybe.

@rsc
Copy link
Contributor

rsc commented Sep 10, 2013

Comment 3:

Labels changed: added go1.3, removed go1.2maybe.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 4:

Labels changed: added release-go1.3.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 5:

Labels changed: removed go1.3.

@rsc
Copy link
Contributor

rsc commented Dec 4, 2013

Comment 6:

Labels changed: added repo-main.

@gopherbot
Copy link

Comment 7:

CL https://golang.org/cl/87910050 mentions this issue.

@bradfitz
Copy link
Contributor

Comment 8:

This issue was closed by revision 8f76641.

Status changed to Fixed.

@AlekSi AlekSi added fixed Suggested Issues that may be good for new contributors looking for work to do. labels Apr 17, 2014
@rsc rsc added this to the Go1.3 milestone Apr 14, 2015
@rsc rsc removed the release-go1.3 label Apr 14, 2015
@golang golang locked and limited conversation to collaborators Jun 24, 2016
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge Suggested Issues that may be good for new contributors looking for work to do.
Projects
None yet
Development

No branches or pull requests

4 participants