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: fix race on postPendingDial test hook

The race occurs rarely, but by putting some delays and more reads/writes
of prePendingDial/postP...

a14ccc211df9a0a2ac219f368080c54c523706f5 authored over 9 years ago by Todd Neal <[email protected]>
net/http: escape path in implicit /tree→/tree/ ServeMux.Handle redirect

Fixes #10572

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

80071f57f87384d806ab45559f7c5394be15924d authored over 9 years ago by Mihai Borobocea <[email protected]>
net/url: don't escape star requests when writing requests

Includes a new net/http test too.

Fixes #11202

Change-Id: I61edc594f4de8eb6780b8dfa221269dd482...

8675dec59687e1a4357ef6faa12eb057d8558ec2 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: don't overwrite Authorization headers when URL has username

Fixes #11399

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

c49ab6826b5b3a35d66d7d44a3332a7956cf9253 authored over 9 years ago by Steve Streeting <[email protected]>
net/http: change default user agent string

Default user agent in use - "Go 1.1 package http" doesn't conform to RFC 7231.
See http://tools....

c0581d091be2dcb64ac49e7459151c6d5519e155 authored over 9 years ago by Aamir Khan <[email protected]>
net/http: add comment to exported ErrNoCookie and ErrNoLocation values

All other exported errors in net/http are commented. This change adds
documentation to ErrNoCoo...

d16d5dd32426afe10dfd3a49c418ba64467b6fc9 authored over 9 years ago by Matt Layher <[email protected]>
net/http: Fix test that occasionally fails

The consecutive calls to Head would sometimes get different
connections depending on if the read...

8d64a92313ab3f24a85cef94e76087d5017dd037 authored over 9 years ago by Todd Neal <[email protected]>
net/http: tolerate old buggy user agents, per RFC 2616 section 4.1

Some old buggy browsers sent extra CRLF(s) after POST bodies. Skip
over them before reading subs...

b70c1f175dba89c4bc964ce8e804ffa825cb9da2 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: bound the number of bytes read seeking EOF in Handler's Body.Close

If a client sent a POST with a huge request body, calling
req.Body.Close in the handler (which i...

b98cbe4114efd62899da5b35cd0cfd0a85aaf2e5 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: sync Get and Head's documentation

Instead of ambiguously referring to "the Client's CheckRedirect
function" in Head, describe the ...

afa1c727645a4300ae4cf216b17a9ccbf07c05f9 authored over 9 years ago by Matthew Dempsky <[email protected]>
net/http: document that Hijack's net.Conn might have left-over timeouts set

Fixes #8296

Change-Id: I71b330a0f961d46ae4ed81d5f3f5ce5bf708a29a
Reviewed-on: https://go-review...

c45f1f9144478dee3f8b1d0b63170bb2266de801 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: don't always require certFile, keyFile in Server.ListenAndServerTLS

The ListenAndServerTLS function still requires the certFile and
keyFile, but the Server.ListenAn...

0b9d55cd94d3d4d1c4a6cc42a2c0e5e664b6b92a authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: document that FormValue returns the empty string

Fixes #8137

Change-Id: Icd94bbe430a3ef333248425449b5fc678edb0343
Reviewed-on: https://go-review...

4c95b662ca986665ffaa8032b5bf46e46e4e65b8 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/url: validate ports in URLs and bytes after IPv6 literals

Fixes #11208

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

15adbca7c6c3bd50d7d9e45d11f975c0715bab97 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: Remove unused code

This appears to be some legacy which is no longer used.

Change-Id: I469beb59a90853e8de910158f17...

64e968d39afdb0e1556d7825a46aaaa88eb0e57e authored over 9 years ago by Todd Neal <[email protected]>
net/http: fix tests for recent URL.RawPath addition

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

0dc3fd37c71558b39061961dcd34c31c6baf58a5 authored over 9 years ago by Russ Cox <[email protected]>
all: extract "can I exec?" check from tests into internal/testenv

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

b6aeef785831e081625c0864ee4f943800e208f0 authored over 9 years ago by Russ Cox <[email protected]>
all: fix misprints in comments

These were found by grepping the comments from the go code and feeding
the output to aspell.

Ch...

af07f383014ead5411f286fd6edbcc0a4cc7a6c6 authored over 9 years ago by Ainar Garipov <[email protected]>
net/http: the Set-Cookie Expiration time zone should be GMT, not UTC

Per RFC 6265.

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

ac7b195541e72d98ef73a2beebebd82f0ddc5340 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: set nosniff header when serving Error

The Error function is a potential XSS vector if a user can control the
error message.

For examp...

9649939ec1a6147e3af39c014490f29a66962d10 authored over 9 years ago by Andrew Gerrand <[email protected]>
net/http: flush request body chunks in Transport

The Transport's writer to the remote server is wrapped in a
bufio.Writer to suppress many small ...

6d03b42e76fde5aa8b995903a7f9ab3a7a399963 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: silence race detector on client header timeout test

When running the client header timeout test, there is a race between
us timing out and waiting o...

acdf300d38464d077c0b86c3fdef5eb28f3c1251 authored over 9 years ago by Daniel Morsing <[email protected]>
net/http: don't send implicit Content-Length if Transfer-Encoding is set

Fixes #9987

Change-Id: Ibebd105a2bcdc1741f3b41aa78cb986f3f518b53
Reviewed-on: https://go-review...

8cfc7087e481b6a66f22334ea02fa7b88fefc7f2 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: fix scheduling race resulting in flaky test

The test was measuring something, assuming other goroutines had
already scheduled.

Fixes #10427...

1f153e7a947ce4c5fa55610950b20e72bde388e3 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: document ServeFile and FileServer index.html redirect behavior

Fixes #9876

Change-Id: I97a354fde827dfccc9e373fadea2e37d094439b0
Reviewed-on: https://go-review...

3a44ed4b8570b717c6da0dfbc1a18403f4d57ad3 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: handle "close" amongst multiple Connection tokens

Fixes #8840

Change-Id: I194d0248734c15336f91a6bcf57ffcc9c0a3a435
Reviewed-on: https://go-review...

0db60151efff8f015da04e76804981becf03a25e authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: Don't set Content-Length: -1 when responding to a POST

Fixes an issue where Response.Write writes out a Content-Length: -1
header when the correspondin...

da2d0b17e7048a94fba62d27fae8cfbfc84b53e0 authored over 9 years ago by Peter Waldschmidt <[email protected]>
net/http: documentation updates

Fixes #10366 (how to set custom headers)
Fixes #9836 (PATCH in PostForm)
Fixes #9276 (generating...

79c33a6bab0af0995f6751526b955687fe7a91e0 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: test and document suppressing implicit Content-Type response header

No code changes.

Fixes #8992

Change-Id: I10c8340a4f8e3e7add9b3ac5aa0a1e8d8aa49f40
Reviewed-on:...

2b7eabd29dc6180420243b700ddd0509c30fe6d7 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: fix race between dialing and canceling

In the brief window between getConn and persistConn.roundTrip,
a cancel could end up going missi...

a4d9f976f05fb7cdcd5679bf21f86dfc3726e6d2 authored over 9 years ago by Daniel Morsing <[email protected]>
net/http: make ServeContent errors return more specific HTTP status codes

Previously all errors were 404 errors, even if the real error had
nothing to do with a file bein...

a9b7d11d728cc31d121a321475bcf61d4601cb9d authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: fix rare Transport readLoop goroutine leak

There used to be a small window where if a server declared it would do
a keep-alive connection b...

d641afa01c082bf3ddeda123b47ba311af5374e9 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http: fix Transport data race, double cancel panic, cancel error message

Fixes #9496
Fixes #9946
Fixes #10474
Fixes #10405

Change-Id: I4e65f1706e46499811d9ebf4ad6d83a5d...

713f2e42a865c38a2b6661f8209c2e50d117d17c authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http/cgi: skip fork test on darwin/arm64

Just like darwin/arm.

Change-Id: Ib9a32bb0aed5f08b27de11a93aaf273cacdf5779
Reviewed-on: https:/...

427517112fff5dc2d9c3671c7ec16e09081865d0 authored over 9 years ago by David Crawshaw <[email protected]>
net/http: handle close/response race more gracefully

There was a logical race in Transport.RoundTrip where a roundtrip with
a pending response would ...

978dbb230996b57e4944c7f6bc62c6f9a2832ac4 authored over 9 years ago by Daniel Morsing <[email protected]>
net/http: don't send IPv6 zone identifier in outbound request, per RFC 6874

When making a request to an IPv6 address with a zone identifier, for
exmaple [fe80::1%en0], RFC ...

f33c4940f9d899c9d89cc9305693379d360edd97 authored over 9 years ago by Mikio Hara <[email protected]>
net/http, math/big, cmd/internal/gc/big: replaced errors.New(fmt.Sprintf(...)) in favour fmt.Errorf()

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

226053af6fa73fc00ed2cb2ca3868c5bd0d31707 authored over 9 years ago by Igor Dolzhikov <[email protected]>
net/http: enable segfaulting test on darwin/arm

Issue #10043 was resolved by https://golang.org/cl/7072.
This test now passes.

Change-Id: I7bde...

3f1302f56e5929552fa9259200f5d1d0980e9af4 authored over 9 years ago by David Crawshaw <[email protected]>
net/http: ignore the Unix epoch time in ServeContent

ServeContent ignored zero time.Time{} values when generating
Last-Modified response headers and ...

0bbab17d58b0a8d31f6b22f0cb6ef8a5c79ff264 authored over 9 years ago by Brad Fitzpatrick <[email protected]>
net/http/pprof: Correct body tag in index template

The body tag in the pprof template was misplaced.

Change-Id: Icd7948b358f52df1acc7e033ab27a0629...

90fc013d6a84851db022ac446f485c5ff00ec5b8 authored over 9 years ago by Quoc-Viet Nguyen <[email protected]>
all: use "reports whether" in place of "returns true if(f)"

Comment changes only.

Change-Id: I56848814564c4aa0988b451df18bebdfc88d6d94
Reviewed-on: https:/...

61b4b111447b896c7df482cd1d5640f4a6ebe2c7 authored over 9 years ago by Josh Bleecher Snyder <[email protected]>
net/http/pprof: Use relative links to profiles in index html

This allows /debug/pprof/ and descendents to be used through
http.StripPrefix and other path rew...

d34207e39f47fae8ef0265c658366262d14112a4 authored over 9 years ago by Matt Joiner <[email protected]>
net/http: disable segfaulting test on darwin/arm

Issue #10043

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

a844a66c5c75f4aac4d130b2c0d917a0057b377b authored over 9 years ago by David Crawshaw <[email protected]>
net/http/fcgi: fix test

Currently the test fails if run more than once:

$ go test -v -run=TestChildServeCleansUp -cpu=1...

2b746aa67a91f051b66f48db039a9b7a2bef8f76 authored over 9 years ago by Dmitry Vyukov <[email protected]>
net/http/cgi: skip exec test on darwin/arm

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

9dec3e8766df0e9a621718b3724f9b48d3e94448 authored over 9 years ago by David Crawshaw <[email protected]>
net/http: Removed some unused constants in request.go.

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

7869db7ad4bfa9e5e5ce480e25c8a9f88fe511ab authored over 9 years ago by Aaron Jacobs <[email protected]>
net/http/cgi: fix REMOTE_ADDR, REMOTE_HOST, add REMOTE_PORT

Env vars were incorrectly copying whole value of http.RemoteAddr
to REMOTE_ADDR and REMOTE_HOST....

2fb807bfb5dbb2b5fc9442c69157775d126850a2 authored over 9 years ago by Alex Sergeyev <[email protected]>
net/http: fix test to check that requests to 'localhost' are not proxied

I think the test was meant to test requests to 'localhost:80' instead
of 'localhost:80:80'. It p...

2984edefcd6f8cc982f88231daa556bbca88f8b6 authored over 9 years ago by Rajat Goel <[email protected]>
all: don't refer to code.google.com/p/go{,-wiki}/

Only documentation / comment changes. Update references to
point to golang.org permalinks or go....

4ba00c034b2036b115be7c4276e185639e9dde72 authored almost 10 years ago by Péter Surányi <[email protected]>
net/http: Fix typo in MaxBytesReader comment

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

932317dac6810528911a2051f5861d1da6935ae7 authored almost 10 years ago by Erik Aigner <[email protected]>
net/http: remove unused switchReader type

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

2084741745601d84acac8fab94065739df9a29da authored almost 10 years ago by Blake Gentry <[email protected]>
net/http: remove redundant strings.TrimPrefix

We already checked for the prefix with strings.HasPrefix

Change-Id: I33852fd19ffa92aa33b75b94b4...

c52e4488fc5dc39053a5364c388c5ad7160a3aa4 authored almost 10 years ago by Erik Aigner <[email protected]>
net/http: close HTTP response bodies in benchmark

This should fix the race builders.

Change-Id: I9c9e7393d5e29d64ab797e346b34b1fa1dfe6d96
Reviewe...

77443b316e00fb50b2eedc1fa1daf0b03e154cd0 authored almost 10 years ago by Brad Fitzpatrick <[email protected]>
net/http/pprof: add tracing support

net/http/pprof part of tracing functionality:
https://docs.google.com/document/u/1/d/1FP5apqzBgr...

bc4ace5829588fd0ccd797aa8f8bd108194ce0c4 authored almost 10 years ago by Dmitry Vyukov <[email protected]>
net/http: fix goroutine leak in benchmark

Race builders report goroutine leaks after addition of this benchmark:
http://build.golang.org/l...

0e391e82587014b14175f4166d0039eae083050b authored almost 10 years ago by Dmitry Vyukov <[email protected]>
net/http: add client benchmark

BenchmarkClient is intended for profiling
the client without the HTTP server code.
The server co...

1220d5142ace607a46821fc02992cbcf3db25ab8 authored almost 10 years ago by Dmitry Vyukov <[email protected]>
net/http/fcgi: Fix resource leaks

Close the pipe for the body of a request when it is aborted and close
all pipes when child.serve...

44ad60125b2b876234e7ee16e2a31ed91896a941 authored almost 10 years ago by Evan Kroske <[email protected]>
net/http: remove unused test type

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

fc73a7c389687a8f7e7c8bb400b884b16b3cd490 authored almost 10 years ago by Jongmin Kim <[email protected]>
net/http/cgi: correctly handle pathnames for cygwin perl on windows

Cygwin perl uses unix pathnames in windows. Include cygwin perl in the
list of special cases for...

343195d365057577eb7bb0134f27884ff0d30378 authored almost 10 years ago by Martin Möhrmann <[email protected]>
net/http: deflake TestResponseWriterWriteStringAllocs, test interface instead

Skip the allocation testing (which was only used as a signal for
whether the interface was imple...

7628d74fd978e3eaa69ffe8575f3f3af21cfe941 authored almost 10 years ago by Brad Fitzpatrick <[email protected]>
net/http/httputil: skip TestReverseProxyCancellation on Plan 9

Update #9554

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

067aedb406ec7f270c780df5ea2a56472caf22ef authored almost 10 years ago by David du Colombier <[email protected]>
net/http/httputil: ReverseProxy request cancellation

If an inbound connection is closed, cancel the outbound http request.

This is particularly usef...

eef76e1fcb8e0ad1bc8685be0b581af59fad6f5c authored almost 10 years ago by Peter Waller <[email protected]>
bufio: add Reader.Discard

Reader.Discard is the complement to Peek. It discards the next n bytes
of input.

We already hav...

7989e6af39a23e31d09116b8835fa6f7bb8b6ee7 authored almost 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: support for setting trailers from a server Handler

We already had client support for trailers, but no way for a server to
set them short of hijacki...

d764cc3f22448ad0728cdbb109656acdf03c01f5 authored almost 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: use t.Fatalf rather than t.Fatal in cookie_test.go

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

fd7491543c63e65bc5ffef9d165cf26dc86db37e authored almost 10 years ago by Guobiao Mei <[email protected]>
net/http/cgi: Correctly pass down the REMOTE_PORT value for CGI requests.

Currently when we get a CGI or FCGI request, the remote port of the client
is hard coded to zero...

12a5a25ea621a5402c29ed037b29e7920566cbfa authored almost 10 years ago by George Shammas <[email protected]>
net/http: Fix Range off-by-one error

Given a file of size N, a request for "Range: bytes=N-*" should
return a 416 [1]. Currently, it...

9d427e5b9198fe8fe3da4420d1f71b139ff4c77c authored almost 10 years ago by Jed Denlea <[email protected]>
net/http: make Client.Timeout return net.Error errors indicating timeout

Co-hacking with Dave Cheney.

Fixes #9405

Change-Id: I14fc3b6a47dcdb5e514e93d062b804bb24e89f47
...

f2a294517611ccce29f14b16eb52ec7f412be9b0 authored almost 10 years ago by Brad Fitzpatrick <[email protected]>
net/http/httputil: don't use DisableKeepAlives in DumpRequestOut, fix build

I broke the build in https://golang.org/change/207950a when I made
http.Transport send "Connecti...

c8e42d658797400db370e6d82447c926b9036c24 authored almost 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: make Transport send 'Connection: close' when DisableKeepAlives

No bug was open, but I found an old email to myself to investigate
when I suspected this was hap...

4d624a14f5283c0443d14d9ec7fe3d081a3c4a70 authored almost 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: document Response.Body Read+Close interaction with keep-alive

Fixes #5645

Change-Id: Ifb46d6faf7ac838792920f6fe00912947478e761
Reviewed-on: https://go-review...

0ef367dccf8e85239d220fbbaded8fb26f8df5bc authored almost 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: fix timer leak in Transport when using ResponseHeaderTimeout

Fixes #9104

Change-Id: Ide5ac70215d73278e6910f5b9c7687ad7734c0be
Reviewed-on: https://go-review...

a6ecd2fb5411733bacda1d93b4e11355137789bc authored almost 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: avoid some allocations in DetectContentType

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

6163396334d84641334e38963d3e6b44c03f4c9d authored almost 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: add comment to clarify whether Dir is '/' or '\'.

LGTM=bradfitz
R=bradfitz, alex.brainman
CC=golang-codereviews
https://golang.org/cl/168600044

26c54ea648f670c6f1ca4b4e0978c8aa5b1b5fe7 authored almost 10 years ago by Nigel Tao <[email protected]>
all: use golang.org/x/... import paths

LGTM=rsc, r
R=r, rsc
CC=golang-codereview, golang-codereviews
https://golang.org/cl/168050043

f1c6455354e4e3c743b4b323222cc8c8e7a78698 authored almost 10 years ago by Andrew Gerrand <[email protected]>
net/http: fix benchmark goroutine leak

New detection because of net/http now using TestMain.

Fixes #9033

LGTM=iant
R=golang-coderevie...

e93719ad43428915076cc90ecb3e12ff5055bd68 authored about 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: add missing newline in list of leaked goroutines

LGTM=bradfitz
R=bradfitz
CC=golang-codereviews
https://golang.org/cl/168860044

437e588899a4d39c44cf3c7ccefe92ca78529285 authored about 10 years ago by Ian Lance Taylor <[email protected]>
net/http/pprof: run GC for /debug/pprof/heap?gc=1

We force runtime.GC before WriteHeapProfile with -test.heapprofile.
Make it possible to do the s...

858b171573558b5c3a31c09635d98d2f69c411af authored about 10 years ago by Russ Cox <[email protected]>
net/http: don't send implicit gzip Accept-Encoding on Range requests

The http package by default adds "Accept-Encoding: gzip" to outgoing
requests, unless it's a bad...

c31c287831e68cb4eb633643ec2330ce83ca83c9 authored about 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: don't reuse a server connection after any Write errors

Fixes #8534

LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/149340044

e3cf86c37e6c10065a8f9ed8087ef20cb20ee544 authored about 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: fix authentication info leakage in Referer header (potential security risk)

http.Client calls URL.String() to fill in the Referer header, which may
contain authentication i...

6447d744b6353a27fd71d051da59384fadcd9e03 authored about 10 years ago by Jens Frederich <[email protected]>
net/http/httputil: ensure DumpRequestOut dumps all of Body

Bodies larger than 8KB (the default bufio reader size) weren't
being dumped. Force a read of th...

294dea619b57c198550f698cd4baa164f643e53b authored about 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: make Transport.CloseIdleConnections also close pending dials

See comment 4 of https://code.google.com/p/go/issues/detail?id=8483#c4:

"So if a user creates a...

dc8ffe218b3e084fd5683d0f9ba2bd76e6597db1 authored about 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: enable Transfer-Encoding: identity without Content-Length for HTTP 1.1.

Use case is SSE recommended configuration: http://www.w3.org/TR/eventsource/#notes
Removes a TOD...

66b0d2d5205e36d4f361d38f8160f962f77ecb64 authored about 10 years ago by James Tucker <[email protected]>
net/http: clarify Request.FormValue docs

Fixes #8067

LGTM=r
R=r
CC=golang-codereviews
https://golang.org/cl/146480043

83913d7339b5daeb1235e2934f14ea2fb4fb1ac2 authored about 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: update ProxyFromEnvironment docs for HTTPS_PROXY addition

LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/142650043

273ca0d8b83aae9fd9358896c0b0f914a833decd authored about 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: allow double-quotes only on cookie values, not cookie

attribute values, a la RFC 6265 section 4.1.1 "Syntax".

Fixes #7751.

LGTM=dr.volker.dobler
R=dr...

44d5a01f8103eb69ee267dbb8d538d7fa3312ea9 authored about 10 years ago by Nigel Tao <[email protected]>
net/http: check for CloseWrite interface, not TCPConn implementation

Fixes #8724

LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/148040043

36b49a6b3302b4c2c78ddbe54ebed7f43528945a authored about 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: support https_proxy in ProxyFromEnvironment

Fixes #6181

LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/148980043

16aa0a77d88e2a7dc13343aa9874978a8b3e5339 authored about 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: replace z_last_test hack with testing.Main

LGTM=adg
R=rsc, adg
CC=golang-codereviews
https://golang.org/cl/144240043

8a45c672be3b05f7476fe8406dedd6999ed93e55 authored about 10 years ago by Brad Fitzpatrick <[email protected]>
net/http: document server recovering panics

Fixes #8594.

LGTM=bradfitz
R=bradfitz
CC=golang-codereviews
https://golang.org/cl/145760043

28bc4462a12e79b2cf610119cd761d6c6850aed6 authored about 10 years ago by Russ Cox <[email protected]>
net/http: ensured that proxy errors are returned by Transport.RoundTrip.

Fixes #8755.

LGTM=bradfitz
R=bradfitz
CC=golang-codereviews, jtuley
https://golang.org/cl/13671...

52fad5641841571639258921dbdc1603eb3f717d authored about 10 years ago by John Tuley <[email protected]>
net/http: don't call FileSystem.Open with unclean index.html path

Fixes #8722

LGTM=adg
R=adg
CC=golang-codereviews
https://golang.org/cl/142090043

81957ed8cd04f731967e5563db88091e517c2588 authored about 10 years ago by Brad Fitzpatrick <[email protected]>
build: move package sources from src/pkg to src

Preparation was in CL 134570043.
This CL contains only the effect of 'hg mv src/pkg/* src'.
For ...

246da9630fb2e36383d0943a914ae9bbf71cae4e authored about 10 years ago by Russ Cox <[email protected]>