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

Issue 4239044: code review 4239044: http: expose Client's Transport (Closed)

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

Description

http: expose Client's Transport This is again an intentionally minimal change. The plan is to keep Client's zero value be a usable client, with optional fields being added over time (e.g. cookie manager, redirect policy, auth)

Patch Set 1 #

Patch Set 2 : diff -r 9942dde5fdad https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 9942dde5fdad https://go.googlecode.com/hg/ #

Patch Set 4 : diff -r 58ea40638d4f https://go.googlecode.com/hg/ #

Patch Set 5 : diff -r 58ea40638d4f https://go.googlecode.com/hg/ #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -17 lines) Patch
M src/pkg/http/client.go View 1 2 3 4 12 chunks +21 lines, -16 lines 0 comments Download
M src/pkg/http/client_test.go View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 8
bradfitz
Hello rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years ago (2011-02-25 22:41:44 UTC) #1
rsc
Adding unused int doesn't do very much. You can still write: x := new(http.Client) x.Transport ...
14 years ago (2011-02-25 23:19:20 UTC) #2
bradfitzgoog
On Fri, Feb 25, 2011 at 3:19 PM, Russ Cox <rsc@golang.org> wrote: > Adding unused ...
14 years ago (2011-02-25 23:39:37 UTC) #3
rsc
On Fri, Feb 25, 2011 at 18:39, Brad Fitzpatrick <bradfitz@google.com> wrote: > On Fri, Feb ...
14 years ago (2011-02-28 15:09:10 UTC) #4
bradfitz
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years ago (2011-03-01 21:46:25 UTC) #5
bradfitz
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years ago (2011-03-01 21:50:12 UTC) #6
rsc
LGTM
14 years ago (2011-03-01 21:57:50 UTC) #7
bradfitz
14 years ago (2011-03-01 22:07:35 UTC) #8
*** Submitted as http://code.google.com/p/go/source/detail?r=cb4451ce4331 ***

http: expose Client's Transport

This is again an intentionally minimal change.

The plan is to keep Client's zero value be a usable
client, with optional fields being added over time
(e.g. cookie manager, redirect policy, auth)

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

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