]> Cypherpunks repositories - gostls13.git/commit
http: introduce start of Client and ClientTransport
authorBrad Fitzpatrick <bradfitz@golang.org>
Wed, 23 Feb 2011 20:20:50 +0000 (12:20 -0800)
committerBrad Fitzpatrick <bradfitz@golang.org>
Wed, 23 Feb 2011 20:20:50 +0000 (12:20 -0800)
commite0a2c5d4b540934e06867710fe7137661a2a39ec
treef0a6486f60abb7ce6147cec347859e41da212ac1
parent690291a2c008ec4adf754a394437f1e9f6d46aba
http: introduce start of Client and ClientTransport

Much yet to come, but this is a safe first step, introducing
an in-the-future configurable Client object (where policy for
cookies, auth, redirects will live) as well as introducing a
ClientTransport interface for sending requests.

The CL intentionally ignores everything around the creation
and configuration of Clients and merely ports/wraps the old
interfaces to/around Client/ClientTransport.

R=rsc, dsymonds, nigeltao, bradfitzwork
CC=golang-dev
https://golang.org/cl/4182086
src/pkg/http/Makefile
src/pkg/http/client.go
src/pkg/http/fs_test.go
src/pkg/http/transport.go [new file with mode: 0644]