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

Issue 5284041: code review 5284041: http: RoundTrippers shouldn't mutate Request (Closed)

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

Description

http: RoundTrippers shouldn't mutate Request Fixes issue 2146

Patch Set 1 #

Patch Set 2 : diff -r 63b30d425c48 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 63b30d425c48 https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 63b30d425c48 https://go.googlecode.com/hg/ #

Total comments: 3

Patch Set 5 : diff -r 63b30d425c48 https://go.googlecode.com/hg/ #

Patch Set 6 : diff -r 461aaa349934 https://go.googlecode.com/hg/ #

Patch Set 7 : diff -r b9a8bd8ae691 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+90 lines, -68 lines) Patch
M src/pkg/http/client.go View 1 2 3 4 5 6 2 chunks +9 lines, -4 lines 0 comments Download
M src/pkg/http/request.go View 1 2 3 4 5 4 chunks +11 lines, -3 lines 0 comments Download
M src/pkg/http/transport.go View 1 2 3 4 5 11 chunks +52 lines, -47 lines 0 comments Download
M src/pkg/http/transport_test.go View 1 2 3 4 5 4 chunks +18 lines, -14 lines 0 comments Download

Messages

Total messages: 12
bradfitz
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 5 months ago (2011-10-13 17:44:59 UTC) #1
rsc
Can we make it not actually mutate the Request? If not, we should explicitly allow ...
13 years, 5 months ago (2011-10-13 19:38:50 UTC) #2
bradfitz
yeah... On Thu, Oct 13, 2011 at 12:38 PM, <rsc@golang.org> wrote: > Can we make ...
13 years, 5 months ago (2011-10-13 19:53:10 UTC) #3
bradfitz
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2011-10-13 20:36:57 UTC) #4
bradfitz
PTAL. No test changes were required, but since I hit a (useful) test failure during ...
13 years, 5 months ago (2011-10-13 20:38:14 UTC) #5
rsc
Two questions. 1. What parts of the request actually need to be modified? Can we ...
13 years, 5 months ago (2011-10-14 16:44:45 UTC) #6
bradfitz
On Fri, Oct 14, 2011 at 9:44 AM, Russ Cox <rsc@golang.org> wrote: > Two questions. ...
13 years, 5 months ago (2011-10-14 16:49:52 UTC) #7
rsc
If we're just talking about two headers, how bad is it to just have a ...
13 years, 5 months ago (2011-10-14 17:06:03 UTC) #8
bradfitz
Hello rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 5 months ago (2011-10-14 19:49:53 UTC) #9
bradfitz
On Fri, Oct 14, 2011 at 10:05 AM, Russ Cox <rsc@golang.org> wrote: > If we're ...
13 years, 5 months ago (2011-10-14 19:58:31 UTC) #10
rsc
LGTM Up to you whether to mention Body.
13 years, 5 months ago (2011-10-14 21:09:43 UTC) #11
bradfitz
13 years, 5 months ago (2011-10-14 21:16:22 UTC) #12
*** Submitted as http://code.google.com/p/go/source/detail?r=18eaae34f73e ***

http: RoundTrippers shouldn't mutate Request

Fixes issue 2146

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

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