Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/ooni/oohttp

Fork of Go stdlib's net/http that works with alternative TLS libraries like refraction-networking/utls.
https://github.com/ooni/oohttp

net/http: document Transport.ExpectContinueTimeout a bit more

Fixes #16003

Change-Id: I76a8da24b9944647ec40ef2ca4fc93c175ff5a25
Reviewed-on: https://go-revie...

08ab120c030d4a02c845b4b9fccf4defdfeb1267 authored over 8 years ago
net/http: add Request.GetBody func for 307/308 redirects

Updates #10767

Change-Id: I197535f71bc2dc45e783f38d8031aa717d50fd80
Reviewed-on: https://go-rev...

5800a8f7f4b4aa33aa4767d3365d9f1efe25ff56 authored over 8 years ago
net/http: make Redirect escape non-ASCII in Location header

Only ASCII is permitted there.

Fixes #4385

Change-Id: I63708b04a041cdada0fdfc1f2308fcb66889a27...

dd071c80920aee97c6f1f09777052656896ccb13 authored over 8 years ago
net/http: update bundled http2

Updates http2 to x/net/http2 git rev 40a0a18 for:

http2: fix Server race with concurrent Re...

2aa19966aef1562733934e774189f9053b8bca43 authored over 8 years ago
net/http/httptrace: clarify ClientTrace docs

The old wording over-promised.

Fixes #16957

Change-Id: Iaac04de0d24eb17a0db66beeeab9de70d0f6d3...

b2b0860d0eae20730a876e1ffab8570f11b74b34 authored over 8 years ago
net/http: remove workaround in TestTransportClosesBodyOnError on Plan 9

This issue has been fixed in CL 31390.

Fixes #9554.

Change-Id: Ib8ff4cb1ffcb7cdbf117510b98b4a7...

4cf0602b0f6907d82fb9e56e1f39191f7d20f091 authored over 8 years ago
net/http/httptrace: add ClientTrace.TLSHandshakeStart & TLSHandshakeDone

Fixes #16965

Change-Id: I3638fe280a5b1063ff589e6e1ff8a97c74b77c66
Reviewed-on: https://go-revie...

37fa411e5b023dd45af3275fc16943a2b2f15ee6 authored over 8 years ago
net/http: make NewRequest set empty Body nil, don't peek Read Body in Transport

This CL makes NewRequest set Body nil for known-zero bodies, and makes
the http1 Transport not p...

7807ba05105d0dbf0d80eeb7cb31b8e6f4238575 authored over 8 years ago
net/http: update test to check Content-Length 0 Body more reliably

The way to send an explicitly-zero Content-Length is to set a nil Body.

Fix this test to do tha...

03611c5e67a9e0e3536409da06f10670d6a68636 authored over 8 years ago
net/http/internal: don't block unnecessarily in ChunkedReader

Fixes #17355

Change-Id: I5390979cd0081b61a639466377faa46b4221b74a
Reviewed-on: https://go-revie...

a364df037f931fdd6537e31748fe40059fa2f671 authored over 8 years ago
net/http: enable TestTransportRemovesDeadIdleConnections on Plan 9

This issue has been fixed in CL 31390.

Fixes #15464.

Change-Id: I35e088f37bf3b544100ff131c7269...

46de40fbb0c8b551d5fec672f5e59da9c5232e93 authored over 8 years ago
net: enable TestCancelRequestWithChannelBeforeDo on Plan 9

This issue has been fixed in CL 31390.

Fixes #11476.

Change-Id: I6658bda2e494d3239d62c49d0bd5d...

023f014ac950aed9d122668ace1a1033748b4e86 authored over 8 years ago
net/http: make Server Handler's Request.Context be done on conn errors

This CL changes how the http1 Server reads from the client.

The goal of this change is to make ...

9d69600470f78c63f5bb0f88dae3b67adb0b05fa authored over 8 years ago
net/http: support multiple identical Content-Length headers

Referencing RFC 7230 Section 3.3.2, this CL
deduplicates multiple identical Content-Length heade...

9a8cfb106b744156bdf24cea14bf268490af5564 authored over 8 years ago
net/http: add more docs on ErrHijacked

Updates #16456

Change-Id: Ifea651ea3ece2267a6f0c1638181d6ddd9248a9f
Reviewed-on: https://go-rev...

62cee4b6a2c79ec4c8c81de4f9daa3a8f737406b authored over 8 years ago
net/http: allow Handlers to test Hijacked conn without spamming error log

Make a zero-byte write to a hijacked connection not log anything, so handlers
can test whether a...

0b9c0cc55afd0f01b7b7d1bdb50587b223ddd18f authored over 8 years ago
net/http: optimize internal cookie functions

- precalculate *Cookie slice in read cookie functions
- readSetCookies: pre-allocs depending on ...

5c22d25411d96cbe12108a1443d975476d8a5b9d authored over 8 years ago
net/http: fix typo in server commont

Change-Id: I5b04ba7e12eff933fc67eb7a1cbdfde536e4db88
Reviewed-on: https://go-review.googlesource...

73753c05c118c38d2a0c9f5869603941542d8e4c authored over 8 years ago
net/http: Add missing tests for parsePostForm

Renamed TestPOSTQuery to TestParseFormQuery and added testing
for the ";" delimiter, an empty ke...

d4d943ddba6432ef46230c2c17e1d0c17bda33dc authored over 8 years ago
Revert "net/http: improve performance for parsePostForm"

This reverts commit 59320c396e6448132a52cb5a5d96491eee1e0ad8.

Reasons:
This CL was causing fail...

0988b5d1aa124d2ad8188e29062dbbf8781800a6 authored over 8 years ago
net/http: improve performance for parsePostForm

Remove the use of io.ReadAll in http.parsePostForm to avoid converting
the whole input from []by...

703ecb6bd50eb5eaa21f4cb4de759468c237089c authored over 8 years ago
all: use sort.Slice where applicable

I avoided anywhere in the compiler or things which might be used by
the compiler in the future, ...

888ef908248b3da9edeecb064f10facf66361767 authored over 8 years ago
net/http: don't sniff Request.Body on 100-continue requests in Transport

Also, update bundled http2 to x/net git rev 0d8126f to include
https://golang.org/cl/30150, the ...

074fe75d67f0bb9fd054565fe03a63c8bf1eda90 authored over 8 years ago
net/http: refactor testing of Request.Body on 0 ContentLength

Code movement only, to look more like the equivalent http2 code, and
to make an upcoming fix loo...

33fd7a73573e3365c7ebe49a738e34d8d46489c3 authored over 8 years ago
net/http: update bundled http2, add h2 Transport.IdleConnTimeout tests

Updates bundled http2 to x/net git rev a333c53 for:

http2: add Transport support for IdleCon...

d764e691a6285d32992b81b9b3a7687a7622a0d5 authored over 8 years ago
net/http: remove TODO about the Server's base context

I decided not to expand the API for this per discusion on #16220.

Fixes #16220

Change-Id: I65c...

e1fcb48bbf52a5f9e3fc09d79fe636a1dba67507 authored over 8 years ago
net/http: use atomic.Value for Transport's alternate protocol map

Fix an old TODO and use atomic.Value for holding the Transport's
alternate protocol map. It is v...

1fa8ec9ef3c2aa958940ec95a867b7bde7ba91b4 authored over 8 years ago
net/http: document how Request.Cookie deals with duplicate cookies

RFC 6265, section 4.2.2 says:
<<<
Although cookies are serialized linearly in the Cookie header,...

bac0c9eb71f2f721c7d90c41c85b003f6369ba8d authored over 8 years ago
net/http: add more IDNA2008 tests and fix some omissions

It wasn't lowercasing the string, folding widths, and putting strings
into NFC form. Do those.

...

a9e3bd39dae7a42014828c2a63ff728aefa48bd2 authored over 8 years ago
net/http: add Client tests for various 3xx redirect codes

Updates #13994
Updates #16840

Change-Id: Ia3cad5c211e0c688a945ed6b6277c2552592774c
Reviewed-on:...

eceb0626b7f2f098f5ca12895cb5b7c178db7e0f authored over 8 years ago
net/http/httputil: preallocate trailerKeys slice

To prevent slice growths with append operations.

Change-Id: Icdb745b23cc44dfaf3e16746b94c06997f...

3f2ce1c7003b47ab9ce34cd58de4bdecdbf73a3c authored over 8 years ago
net/http/httptrace: remove the mention of http client

This sentence is partially guilty why httptrace is considered as an
http.Client tracing package....

51b8bc790ffdb71b8f3b0f004218b6c631414da7 authored over 8 years ago
net/url: prefix relative paths containing ":" in the first segment with "./"

This change modifies URL.String to prepend "./" to a relative URL which
contains a colon in the ...

de654b3addc043aa4da7e2a98bfa9bde9ea7974a authored over 8 years ago
net/http/httptest: fill ContentLength in recorded Response

This change fills the ContentLength field in the http.Response returned by
ResponseRecorder.Resu...

2f1353790714b28a3cdc327ec5fe277399818a8f authored over 8 years ago
net/http/cookiejar: fix typo

Change-Id: I6ea8650927e7946c6fd4659f400fd91ddaae68af
Reviewed-on: https://go-review.googlesource...

1b0f7bfd34a326eefafdfebcf29cc778cb9b08ec authored over 8 years ago
net/http/httptrace: fix bad tracing example

Tracing happens at the http.Trace level. Fix the example to demostrate
tracing in the lifecycle ...

d9c1aaf1f62fbf4a36120ff4f1823cb7b869083d authored over 8 years ago
net/http: rename Post's parameter from bodyType to contentType

Change-Id: Ie1b08215c02ce3ec72a4752f4b800f23345ff99d
Reviewed-on: https://go-review.googlesource...

e101e605c194374517ab5739d054130ad96cf91c authored over 8 years ago
net/http: clarify Request.ContentLength behavior on the client.

While you could argue the previous wording technically said that -1 is
an acceptable way to indi...

449b9daf956973789211b54737febbcd0b0c0b2c authored over 8 years ago
net/http: make Transport support international domain names

This CL makes code like this work:

res, err := http.Get("https://фу.бар/баз")

So far, IDN...

fcc33abc6926e65e28fede9557cf3107f4e9ee2e authored over 8 years ago
net/http: update bundled x/net/http2

Updates x/net/http2 (and x/net/lex/httplex) to git rev 749a502 for:

http2: don't sniff first...

4b7b5f5fbf2d74d10b44dbc882cf7159431c07cb authored over 8 years ago
net/http: skip test needing good DNS in short mode, except on builders

Fixes #16732

Change-Id: If0a7f9425cf75b9e31b3091c43cb23d6e039f568
Reviewed-on: https://go-revie...

3ef398a3bcb316df3375613e0af55feb2cd85ac6 authored over 8 years ago
net/http: make Client copy headers on redirect

Copy all of the original request's headers on redirect, unless they're
sensitive. Only send sens...

42882b7f5e900af463c13a14a6f6b635978cec63 authored over 8 years ago
net/http/cookiejar: added simple example test

Fixes #16884
Updates #16360

Change-Id: I01563031a1c105e54499134eed4789f6219f41ec
Reviewed-on: h...

7570306551db60b08ed59ebd66baf586dd22679a authored over 8 years ago
net/http/httputil: remove custom hop-by-hop headers from response in ReverseProxy

Hop-by-hop headers (explicitly mentioned in RFC 2616) were already
removed from the response. Th...

185f729cb3a7bf735e492d9fb04bd0dbc5876a9c authored over 8 years ago
net/http/httputil: copy header map if necessary in ReverseProxy

We were already making a copy of the map before removing
hop-by-hop headers. This commit does th...

2ececf0d39be2281961d5fa0411f414521f2e8f1 authored over 8 years ago
net/http/httputil: t.Error -> t.Errorf

Found by vet.

Change-Id: I09b79d68c7a5fc97e0edda4700a82bfbb00a4f45
Reviewed-on: https://go-revi...

b27b452c4e85fdb00e5266882f5531c81c1fea46 authored over 8 years ago
net/http/httputil: make ReverseProxy send nil Body requests when possible

The http.Transport's retry can't retry requests with non-nil
bodies. When cloning an incoming se...

1650de973c3ff7c78ad3de6ad7c3d4426f99e58c authored over 8 years ago
net/http/httputil: remove proxied headers mentioned in connection-tokens

RFC 2616, section 14.10 says:

>>>
HTTP/1.1 proxies MUST parse the Connection header field befor...

aaa3455fee706e7b9c5b87b8cf69bff3321f5496 authored over 8 years ago
net/http: omit Content-Length in Response.Write for 1xx or 204 status

Per RFC 7230, Section 3.3.2: "A server MUST NOT send a Content-Length
header field in any respon...

a73600945d5b2a0b1711c2ec9982bb1f72a3ef9c authored over 8 years ago
crypto/tls: add Config.Clone

In Go 1.0, the Config struct consisted only of exported fields.

In Go 1.1, it started to grow p...

c9d4e176901c020e41d4bf38e59dd0a91ffca0fa authored over 8 years ago
net/http: make DefaultTransport's Dialer enable DualStack ("Happy Eyeballs")

As @pmarks-net said in the bug, this is something of a prisoner's
dilemma, but it does help peop...

6c299845b39bd9beddfaa79740292d788ccdbaa7 authored over 8 years ago
all: use testing.GoToolPath instead of "go"

This change makes sure that tests are run with the correct
version of the go tool. The correct ...

b394af6c855d710716228d5b5098ab28eed911e3 authored over 8 years ago
net/http: fix ordering & data race in TestTransportEventTrace_h2

Ordering fix: this CL swaps the order of the log write and the channel close
in WroteRequest. I ...

08da9f5c01b46c926bf90a990af40ebcaa0cdba2 authored over 8 years ago
net/http: stop timeout timer if user cancels a request

Change-Id: I84faeae69f294b9a70e545faac6a070feba67770
Reviewed-on: https://go-review.googlesource...

60a9326c36dbfbc22710d625e82c8a25fe29b054 authored over 8 years ago
all: use time.Until where applicable

Updates #14595

Change-Id: Idf60b3004c7a0ebb59dd48389ab62c854069e09f
Reviewed-on: https://go-rev...

3a0c9a866fa7baf6d7e92aa27da3a8e95be38d49 authored over 8 years ago
crypto/tls: add KeyLogWriter for debugging

Add support for writing TLS client random and master secret
in NSS key log format.

https://deve...

81fc947da7ba953401532310afd1a53f7b51b570 authored over 8 years ago
net/http, cmd/compile: minor vet fixes

Updates #11041

Change-Id: Ia0151723e3bc0d163cc687a02bfc5e0285d95ffa
Reviewed-on: https://go-rev...

e4ee390447a52c6821d9d74b0f7c824fc14bdb69 authored over 8 years ago
net/http: send Content-Range if no byte range overlaps

RFC 7233, section 4.4 says:
>>>
For byte ranges, failing to overlap the current extent means tha...

6f26fecac263ca474212c91ea99202d8768898f7 authored over 8 years ago
net/http: if context is canceled, return its error

This permits the error message to distinguish between a context that was
canceled and a context ...

e05db4a870b9f510cb2818021fd886d04d1710b6 authored over 8 years ago
net/http/httptest: updated example to use Result()

example for httptest.Recorder was inspecting Recoder directly.
Using Result() to convert Recorde...

f6338f5d36319d20a5ba220b067d86dbdc1424aa authored over 8 years ago
net/http: make Transport.CancelRequest doc recommend Request.WithContext

The old deprecation docs were referencing another deprecated field.

Fixes #16752

Change-Id: I4...

bb173b3fbcb3625f4c07ecbf1b689c6dd727fa80 authored over 8 years ago
net/http/httptrace: add simple example and fix copyright header

Partially addresses #16360

Change-Id: I67a328302d7d91231f348d934e4232fcb844830a
Reviewed-on: ht...

51d3ef17d30a88f49c8da9f9eb250022bf35681a authored over 8 years ago
net/http: fix unwanted HTTP/2 conn Transport crash after IdleConnTimeout

Go 1.7 crashed after Transport.IdleConnTimeout if an HTTP/2 connection
was established but but i...

23b97b40bfab98db7a252582b235da2b0f9d271b authored over 8 years ago
net/http: update bundled http2 for Transport double STREAM_ENDED error

Updates bundled http2 to x/net/http2 git rev 7394c11 for:

http2: fix protocol violation regress...

9c5722c06381fcf936443ae3f071bc323aab298a authored over 8 years ago
net/http: prepend ./ to directory list hrefs in FileServer

Certain browsers (Chrome 53, Safari 9.1.2, Firefox 46) won't correctly
follow a directory listin...

0597fde058e1a2dcf37f360ff90c6e16f18c77ea authored over 8 years ago
net/http/httptrace: test the order of hooks when ctx has multi ClientTraces

Change-Id: I95cae14bb5561947ada9577fb05053f93321a4a8
Reviewed-on: https://go-review.googlesource...

92c291f3ed2169d34eb37870b7e8c975d6379b2f authored over 8 years ago
net/http: use keyed composite literal

Makes vet happy.

Updates #11041

Change-Id: I23ca413c03ff387359440af8114786cd7880a048
Reviewed-...

b8807ddaff109da844425df1d8bdf4483699d370 authored over 8 years ago
net/http: make Transport retry non-idempotent requests if no bytes written

If the server failed on us before we even tried to write any bytes,
it's safe to retry the reque...

a8804703508d3e58c438e26fd21a13e6381fb1ba authored over 8 years ago
net/http: deflake BenchmarkClient and its use of a fixed port for testing

Let the kernel pick a port for testing, and have the server in the
child process tell the parent...

b7757584a5c9776b23c62bbcc4ce71231c2f31ca authored over 8 years ago
net/http: make Transport use new connection if over HTTP/2 concurrency limit

The Go HTTP/1 client will make as many new TCP connections as the user requests.

The HTTP/2 cli...

cb569a4af9b1bbb4d227462ffa8027c7b92bfa26 authored over 8 years ago
net/http: update bundled http2 for flow control window adjustment fix

Updates bundled http2 to x/net/http2 git rev 075e191 for:

http2: adjust flow control on open...

f11aea8bbcb2bc768032affeff6d31455b4cf513 authored over 8 years ago
all: merge master into release-branch.go1.7

Change-Id: Ifb9647fa9817ed57aa4835a35a05020aba00a24e

ec680f135821b802348744ba97535cdf1793a071 authored over 8 years ago
net/http: update bundled http2

Updates bundled http2 to x/net/http2 rev 28d1bd4f for:

http2: make Transport work around mo...

3ace5bdcf31ad0a3d127b64f87ddb5ce82aed55d authored over 8 years ago
net/http: fix data race with concurrent use of Server.Serve

Fixes #16505

Change-Id: I0afabcc8b1be3a5dbee59946b0c44d4c00a28d71
Reviewed-on: https://go-revie...

d7517096384014ae96fd29e41c8965a5661a3e40 authored over 8 years ago
net/http: update bundled http2

Updates x/net/http2 to git rev 6a513af for:

http2: return flow control for closed streams
h...

b6ea934cef25ab502db8c9d4964ea3fc33f62cc1 authored over 8 years ago
net/http: make Transport.RoundTrip return raw Conn.Read error on peek failure

From at least Go 1.4 to Go 1.6, Transport.RoundTrip would return the
error value from net.Conn.R...

24c793fbdaff55790cb47018dd7ac161f4710a7b authored over 8 years ago
net/http: fix potential for-select spin with closed Context.Done channel

Noticed when investigating a separate issue.

No external bug report or repro yet.

Change-Id: I...

3384ed7fed8301d28702520da1d24afd574808f0 authored over 8 years ago
all: merge master into release-branch.go1.7

Change-Id: I2511c3f7583887b641c9b3694aae54789fbc5342

5d3c0d86e0a03792c7cb73857a615d8e20f0b0c6 authored over 8 years ago
[release-branch.go1.7] net/http, net/http/cgi: fix for CGI + HTTP_PROXY security issue

Because,

* The CGI spec defines that incoming request header "Foo: Bar" maps to
environment v...

b4f0228aed911ea814c56e4cbb71d6e955c277ba authored over 8 years ago
net/http, net/http/cgi: fix for CGI + HTTP_PROXY security issue

Because,

* The CGI spec defines that incoming request header "Foo: Bar" maps to
environment v...

b025afc30c24a9d29796b0a8d74aa862d1a7559c authored over 8 years ago
all: rename vendored golang.org/x/net packages to golang_org

Regression from Go 1.6 to Go 1.7rc1: we had broken the ability for
users to vendor "golang.org/x...

817e975627e5cb151385361a51c1859a560568bd authored over 8 years ago
net/http: fix vet warning of leaked context in error paths

Updates #16230

Change-Id: Ie38f85419c41c00108f8843960280428a39789b5
Reviewed-on: https://go-rev...

e5ead2590d9f2a5a1e6f48f814b393531703cb53 authored over 8 years ago
net/http: deflake TestClientRedirectContext

The test was checking for 1 of 2 possible error values. But based on
goroutine scheduling and th...

0decec440cf3c2c8365ff2cf3c793ddaaa2dee12 authored over 8 years ago
net/http: update bundled http2

Updates x/net/http2 to git rev b400c2e for https://golang.org/cl/24214,
"http2: add additional b...

2931cb6fabd256d69bc7352ba8235fe159c7316c authored over 8 years ago
net/http: update bundled http2

Updates x/net/http2 to git rev 8e573f40 for https://golang.org/cl/24600,
"http2: merge multiple ...

45e54f97b1a8b41f7c3a8a9f8b98277f57a88ce6 authored over 8 years ago
net/http: be consistent about spelling of HTTP/1.x

There was only one use of "HTTP/1.n" compared to "HTTP/1.x":

h2_bundle.go:// "Just as in HTTP...

5ff747699fce5ae4d56844138927844379f670d8 authored over 8 years ago
net/http: update bundled http2

Updates x/net/http2 to git rev ef2e00e88 for https://golang.org/cl/24560,
"http2: make Transport...

cfed069a102959084c9de3db0d8447cac550f608 authored over 8 years ago
net/http: conditionally configure HTTP/2 in Server.Serve(Listener)

Don't configure HTTP/2 in http.Server.Serve(net.Listener) if the
Server's TLSConfig is set and d...

d3cdc197cf049d15176560ceafd5bac55b958102 authored over 8 years ago
net/http/pprof: remove comments pointing to gperftools

The version of pprof in gperftools has been deprecated.
No need to have a pointer to that versio...

5692baa68121b56773836b1ea08eebb48c279004 authored over 8 years ago
net/http/httptest: show usage of httptest.NewRequest in example

Change ExampleResponseRecorder to use httptest.NewRequest instead of
http.NewRequest. This makes...

c8873ceab811df26934beaf510f4a61b1b1c1476 authored over 8 years ago
net/http: reject faux HTTP/0.9 and HTTP/2+ requests

Fixes #16197

Change-Id: Icaabacbb22bc18c52b9e04b47385ac5325fcccd1
Reviewed-on: https://go-revie...

f13ce2b488b663c9e4be3c122024007078e01409 authored over 8 years ago
net/http: pass through server side Transfer-Encoding headers

Fixes #16063

Change-Id: I2e8695beb657b0aef067e83f086828d8857787ed
Reviewed-on: https://go-revie...

d8c55f447ee7c85fb816e780cf530ef917648612 authored over 8 years ago
net/http: update bundled http2

Updates x/net/http2 to git rev 313cf39 for CLs 23812 and 23880:

http2: GotFirstResponseByte ho...

c0cd54fe1fe939a6de5c81a3430eabebb30525fa authored over 8 years ago
net/http: send StatusOK on empty body with TimeoutHandler

Fixes #15948

Change-Id: Idd79859b3e98d61cd4e3ef9caa5d3b2524fd026a
Reviewed-on: https://go-revie...

7a005391c43819ebb98551159c6729af95f013c5 authored over 8 years ago
net/http: send one Transfer-Encoding header when "chunked" set manually

Fixes #15960

Change-Id: I7503f6ede33e6a1a93cee811d40f7b297edf47bc
Reviewed-on: https://go-revie...

9756977a001b4f25f007fe647e12c962b4f79874 authored over 8 years ago
net/http: http.Request.Context doc fix

The comment on http.Request.Context says that the context
is canceled when the client's connecti...

7d8f5c8798f65af399ea49f03d7fc10acf96edb0 authored over 8 years ago
net/http: update bundled http2

Updates x/net/http2 to git rev 6bdd4be4 for CL 23526:

http2: GotFirstResponseByte hook should...

a7beefc86c15c90b8baa4f151c1efe993a4f135c authored over 8 years ago
net/http/httputil: fix typos in deprecation comments

Fixes #15868

Change-Id: I4e4471e77091309c4ea1d546b2c4f20dfbb4314e
Reviewed-on: https://go-revie...

564a81b7fb1f4727587288f8ccb6d5eb41b9d36b authored over 8 years ago
net/http/httptrace: fix nit in test

Change-Id: I6dc3666398b4cd7a7195bb9c0e321fa8b733fa15
Reviewed-on: https://go-review.googlesource...

5c93dc706bfd8d05aec19856414e3291859523ac authored over 8 years ago
net/http: change Transport.Dialer to Transport.DialContext

New in Go 1.7 so still possible to change.
This allows implementations not tied to *net.Dialer.
...

fa6f92766887cb82f8b9103c461b0981a67f902e authored over 8 years ago