Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(474)

Issue 906042: code review 906042: Handle HTTP body properly when a HTTP/1.1 response o... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years, 2 months ago by dsymonds
Modified:
14 years, 4 months ago
Reviewers:
CC:
golang-dev
Visibility:
Public.

Description

http: fix handling of HTTP/1.1 response body. Certain response codes always have a body, even if Content-Length and Transfer-Encoding are omitted. Fixes issue 716.

Patch Set 1 #

Patch Set 2 : code review 906042: Handle HTTP body properly when a HTTP/1.1 response om... #

Patch Set 3 : code review 906042: Handle HTTP body properly when a HTTP/1.1 response o... #

Patch Set 4 : code review 906042: http: fix handling of HTTP/1.1 response body. #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+53 lines, -2 lines) Patch
M src/pkg/http/response.go View 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/http/response_test.go View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
M src/pkg/http/transfer.go View 1 2 3 2 chunks +12 lines, -1 line 7 comments Download

Messages

Total messages: 7
dsymonds
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 2 months ago (2010-04-09 04:57:09 UTC) #1
rsc
Doesn't the determination of whether there is a body have to depend on the response ...
15 years, 2 months ago (2010-04-09 05:59:33 UTC) #2
dsymonds
All done, code-wise. PTAL. On Fri, Apr 9, 2010 at 3:59 PM, Russ Cox <rsc@golang.org> ...
15 years, 2 months ago (2010-04-09 06:22:53 UTC) #3
rsc1
Thanks, but I think there's another problem. It's pretty subtle code, regardless. +petar-m for answer ...
15 years, 2 months ago (2010-04-09 07:02:38 UTC) #4
petar-m
This change will need an overall revision. See my comments. http://codereview.appspot.com/906042/diff/9002/11003 File src/pkg/http/transfer.go (right): http://codereview.appspot.com/906042/diff/9002/11003#newcode220 ...
15 years, 2 months ago (2010-04-09 16:33:42 UTC) #5
rsc
removing reviewers due to bradfitz's CL
14 years, 4 months ago (2011-02-09 05:44:42 UTC) #6
dsymonds
14 years, 4 months ago (2011-02-10 03:32:56 UTC) #7
*** Abandoned ***
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b