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

Issue 86660043: code review 86660043: net/http: document, test, define, clean up Request.Trailer (Closed)

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

Description

net/http: document, test, define, clean up Request.Trailer Go's had pretty decent HTTP Trailer support for a long time, but the docs have been largely non-existent. Fix that. In the process, re-learn the Trailer code, clean some stuff up, add some error checks, remove some TODOs, fix a minor bug or two, and add tests.

Patch Set 1 #

Patch Set 2 : diff -r 55781108cefa https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 55781108cefa https://go.googlecode.com/hg/ #

Total comments: 12

Patch Set 4 : diff -r 55781108cefa https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 6b826a65a629 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+150 lines, -59 lines) Patch
M src/pkg/net/http/client_test.go View 1 2 chunks +92 lines, -0 lines 0 comments Download
M src/pkg/net/http/request.go View 1 2 3 3 chunks +18 lines, -33 lines 0 comments Download
M src/pkg/net/http/transfer.go View 1 6 chunks +40 lines, -26 lines 0 comments Download

Messages

Total messages: 8
bradfitz
Hello golang-codereviews@googlegroups.com (cc: adg@golang.org, dsymonds@golang.org, rsc@golang.org), I'd like you to review this change to https://go.googlecode.com/hg/
10 years ago (2014-04-10 20:57:36 UTC) #1
adg
https://codereview.appspot.com/86660043/diff/40001/src/pkg/net/http/request.go File src/pkg/net/http/request.go (right): https://codereview.appspot.com/86660043/diff/40001/src/pkg/net/http/request.go#newcode185 src/pkg/net/http/request.go:185: // The trailer contains any additional headers that are ...
10 years ago (2014-04-10 23:08:38 UTC) #2
bradfitz
LG after I make the changes below? https://codereview.appspot.com/86660043/diff/40001/src/pkg/net/http/request.go File src/pkg/net/http/request.go (right): https://codereview.appspot.com/86660043/diff/40001/src/pkg/net/http/request.go#newcode187 src/pkg/net/http/request.go:187: // keys ...
10 years ago (2014-04-10 23:14:36 UTC) #3
adg
I'd like to have a look at the revised wording before you submit, thanks. https://codereview.appspot.com/86660043/diff/40001/src/pkg/net/http/request.go ...
10 years ago (2014-04-10 23:26:34 UTC) #4
bradfitz
PTAL https://codereview.appspot.com/86660043/diff/40001/src/pkg/net/http/request.go File src/pkg/net/http/request.go (right): https://codereview.appspot.com/86660043/diff/40001/src/pkg/net/http/request.go#newcode185 src/pkg/net/http/request.go:185: // The trailer contains any additional headers that ...
10 years ago (2014-04-10 23:47:43 UTC) #5
bradfitz
Hello golang-codereviews@googlegroups.com, adg@golang.org (cc: dsymonds@golang.org, golang-codereviews@googlegroups.com, rsc@golang.org), Please take another look.
10 years ago (2014-04-10 23:47:53 UTC) #6
adg
LGTM
10 years ago (2014-04-10 23:52:00 UTC) #7
bradfitz
10 years ago (2014-04-11 00:01:25 UTC) #8
*** Submitted as https://code.google.com/p/go/source/detail?r=c8a9e0fd84f7 ***

net/http: document, test, define, clean up Request.Trailer

Go's had pretty decent HTTP Trailer support for a long time, but
the docs have been largely non-existent. Fix that.

In the process, re-learn the Trailer code, clean some stuff
up, add some error checks, remove some TODOs, fix a minor bug
or two, and add tests.

LGTM=adg
R=golang-codereviews, adg
CC=dsymonds, golang-codereviews, rsc
https://codereview.appspot.com/86660043
Sign in to reply to this message.

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