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

Issue 203050: code review 203050: Added header-key sorting in http.Request/Response befor... (Closed)

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

Description

Added header-key sorting in http.Request/Response before writing to wire.

Patch Set 1 #

Patch Set 2 : code review 203050: Added header-key sorting in http.Request/Response befor... #

Total comments: 6

Patch Set 3 : code review 203050: Added header-key sorting in http.Request/Response befor... #

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

Messages

Total messages: 8
petar-m
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change.
15 years, 6 months ago (2010-02-06 02:01:49 UTC) #1
rsc
http://codereview.appspot.com/203050/diff/1003/4 File src/pkg/http/request.go (right): http://codereview.appspot.com/203050/diff/1003/4#newcode52 src/pkg/http/request.go:52: var ( Unparenthesize. http://codereview.appspot.com/203050/diff/1003/5 File src/pkg/http/response.go (right): http://codereview.appspot.com/203050/diff/1003/5#newcode18 src/pkg/http/response.go:18: ...
15 years, 6 months ago (2010-02-06 02:10:02 UTC) #2
petar-m
One question. http://codereview.appspot.com/203050/diff/1003/4 File src/pkg/http/request.go (right): http://codereview.appspot.com/203050/diff/1003/4#newcode52 src/pkg/http/request.go:52: var ( On 2010/02/06 02:10:02, rsc wrote: ...
15 years, 6 months ago (2010-02-06 02:21:21 UTC) #3
rsc
> What you are proposing would have: > > Accept-Language: > Accept: > > vs. ...
15 years, 6 months ago (2010-02-06 02:23:02 UTC) #4
petar_csail.mit.edu
I don't think there is. Ok, we'll go the simpler way. On Fri, Feb 5, ...
15 years, 6 months ago (2010-02-06 02:27:38 UTC) #5
petar-m
Uploaded CL. On 2010/02/06 02:27:38, petar_csail.mit.edu wrote: > I don't think there is. Ok, we'll ...
15 years, 6 months ago (2010-02-06 02:29:24 UTC) #6
rsc
LGTM
15 years, 6 months ago (2010-02-06 02:30:55 UTC) #7
rsc
15 years, 6 months ago (2010-02-06 02:32:06 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=311e90c0b8ba ***

http: sort header keys when writing Response or Request to wire

R=rsc
CC=golang-dev
http://codereview.appspot.com/203050

Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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