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

Issue 224084: code review 224084: http: corrected comment for Response.GetHeader. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
15 years ago by adg
Modified:
15 years ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

http: corrected comment for Response.GetHeader. Fixes issue 622.

Patch Set 1 #

Patch Set 2 : code review 224084: http: Response.GetHeader now uses two-value return as p... #

Patch Set 3 : code review 224084: http: corrected comment for Response.GetHeader. #

Total comments: 2

Patch Set 4 : code review 224084: http: corrected comment for Response.GetHeader. #

Patch Set 5 : code review 224084: http: corrected comment for Response.GetHeader. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -7 lines) Patch
M src/pkg/http/response.go View 1 2 3 4 2 chunks +6 lines, -7 lines 0 comments Download

Messages

Total messages: 7
adg
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years ago (2010-03-01 04:16:22 UTC) #1
rsc
fix should be the reverse: update the comment. GetHeader is supposed to be the convenience ...
15 years ago (2010-03-01 05:38:58 UTC) #2
adg
I thought the benefit of GetHeader was wrapping the map key in CanonicalHeaderKey? On 1 ...
15 years ago (2010-03-01 05:49:01 UTC) #3
adg
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
15 years ago (2010-03-02 00:17:15 UTC) #4
rsc
On Sun, Feb 28, 2010 at 21:48, Andrew Gerrand <adg@golang.org> wrote: > I thought the ...
15 years ago (2010-03-02 18:17:05 UTC) #5
rsc
LGTM http://codereview.appspot.com/224084/diff/12/1003 File src/pkg/http/response.go (right): http://codereview.appspot.com/224084/diff/12/1003#newcode155 src/pkg/http/response.go:155: // GetHeader returns the value of the response ...
15 years ago (2010-03-02 21:43:10 UTC) #6
adg
15 years ago (2010-03-02 21:53:30 UTC) #7
*** Submitted as http://code.google.com/p/go/source/detail?r=ddb5c6704435 ***

http: corrected comment for Response.GetHeader.

Fixes issue 622.

R=rsc
CC=golang-dev
http://codereview.appspot.com/224084
Sign in to reply to this message.

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