An error occurred fetching the project authors.
- 02 Jan, 2013 1 commit
-
-
Rick Arnold authored
Request.URL had no documentation before and some people were expecting all fields to be populated. Fixes #3805. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/7008046
-
- 04 Dec, 2012 1 commit
-
-
Brad Fitzpatrick authored
Fixes #4172 R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6872055
-
- 26 Nov, 2012 1 commit
-
-
Shenghou Ma authored
while we're at it, also fix a return value stutter in ParseForm. R=bradfitz CC=golang-dev https://golang.org/cl/6847074
-
- 26 Jun, 2012 1 commit
-
-
Patrick Mylund Nielsen authored
Fixes #3630. R=rsc CC=bradfitz, dsymonds, golang-dev, rodrigo.moraes https://golang.org/cl/6210067
-
- 04 Jun, 2012 2 commits
-
-
Brad Fitzpatrick authored
Removes code. No need for atoi helper. R=golang-dev, adg CC=golang-dev https://golang.org/cl/6285045
-
Brad Fitzpatrick authored
No need to fix case of "Host" string literal. R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6278049
-
- 28 May, 2012 2 commits
-
-
Brad Fitzpatrick authored
CanonicalHeaderKey didn't allocate, but it did use unnecessary CPU in the hot path, deciding it didn't need to allocate. I considered using constants for all these common header keys but I didn't think it would be prettier. "Content-Length" looks better than contentLength or hdrContentLength, etc. R=golang-dev, dave CC=golang-dev https://golang.org/cl/6255053
-
Brad Fitzpatrick authored
Fixes #3535 R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/6245060
-
- 22 May, 2012 1 commit
-
-
Russ Cox authored
Now that we've fixed the Expect: test, this CL should be okay. ««« original CL description net/http: revert 97d027b3aa68 Revert the following change set: changeset: 13018:97d027b3aa68 user: Gustavo Niemeyer <gustavo@niemeyer.net> date: Mon Apr 23 22:00:16 2012 -0300 summary: net/http: allow clients to disable keep-alive This broke a test on Windows 64 and somebody else will have to check. R=golang-dev, r CC=golang-dev https://golang.org/cl/6112054 »»» Fixes #3540. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/6228046
-
- 25 Apr, 2012 1 commit
-
-
Gustavo Niemeyer authored
Revert the following change set: changeset: 13018:97d027b3aa68 user: Gustavo Niemeyer <gustavo@niemeyer.net> date: Mon Apr 23 22:00:16 2012 -0300 summary: net/http: allow clients to disable keep-alive This broke a test on Windows 64 and somebody else will have to check. R=golang-dev, r CC=golang-dev https://golang.org/cl/6112054
-
- 24 Apr, 2012 1 commit
-
-
Gustavo Niemeyer authored
Fixes #3540. R=golang-dev, bradfitz, gustavo CC=golang-dev https://golang.org/cl/5996044
-
- 12 Mar, 2012 1 commit
-
-
Brad Fitzpatrick authored
Fixes #3298 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5783080
-
- 17 Feb, 2012 1 commit
-
-
Russ Cox authored
Convert cryptotype to general go1rename fix. Add os.Exec -> syscall.Exec fix along with new URL fixes. Fixes #2946. R=golang-dev, r, dsymonds CC=golang-dev https://golang.org/cl/5672072
-
- 30 Jan, 2012 1 commit
-
-
Brad Fitzpatrick authored
Makes for prettier docs. R=golang-dev, dsymonds, r, rsc CC=golang-dev https://golang.org/cl/5576056
-
- 26 Jan, 2012 2 commits
-
-
Brad Fitzpatrick authored
The new url.URL's parsing can be too canonicalizing for certain applications. By keeping the original request URI around, we give applications a gross escape hatch while keeping the URL package clean and simple for normal uses. (From a discussion with Gary Burd, Gustavo Niemeyer, and Russ Cox.) Fixes #2782 R=golang-dev, rsc, dsymonds CC=golang-dev https://golang.org/cl/5580044
-
Roger Peppe authored
Also fix a shadowed error variable bug. R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5573072
-
- 25 Jan, 2012 1 commit
-
-
Andrew Balholm authored
Fixes #2755 R=dsymonds, rsc CC=golang-dev https://golang.org/cl/5571052
-
- 17 Jan, 2012 1 commit
-
-
Gustavo Niemeyer authored
Duplicated fields from URL were dropped so that its behavior is simple and expected when being stringified and when being operated by packages like http. Most of the preserved fields are in unencoded form, except for RawQuery which continues to exist and be more easily handled via url.Query(). The RawUserinfo field was also replaced since it wasn't practical to use and had limitations when operating with empty usernames and passwords which are allowed by the RFC. In its place the Userinfo type was introduced and made accessible through the url.User and url.UserPassword functions. What was previous built as: url.URL{RawUserinfo: url.EncodeUserinfo("user", ""), ...} Is now built as: url.URL{User: url.User("user"), ...} R=rsc, bradfitz, gustavo CC=golang-dev https://golang.org/cl/5498076
-
- 12 Jan, 2012 1 commit
-
-
Brad Fitzpatrick authored
Pointed out by nekotaroh in issue 2645 R=golang-dev, gri CC=golang-dev https://golang.org/cl/5539045
-
- 09 Nov, 2011 1 commit
-
-
Andrew Gerrand authored
Arrange the code so that it's easier to keep edits in sync. R=golang-dev, mikioh.mikioh, bradfitz, andybalholm, rsc CC=golang-dev https://golang.org/cl/5345041
-
- 08 Nov, 2011 1 commit
-
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/5345045
-
- 04 Nov, 2011 4 commits
-
-
Brad Fitzpatrick authored
Available after closing Request.Body. R=adg, rsc CC=golang-dev https://golang.org/cl/5348041
-
Brad Fitzpatrick authored
R=rsc CC=golang-dev https://golang.org/cl/5342041
-
Brad Fitzpatrick authored
This moves DumpRequest, DumpResponse, NewChunkedReader, and NewChunkedWriter out of http, as part of the continued http diet plan. Also, adds DumpRequestOut (for dumping outbound requests), since DumpRequest's ambiguity (the "wire representation" in what direction?) was often a source of confusion and bug reports. R=rsc, adg CC=golang-dev https://golang.org/cl/5339041
-
Brad Fitzpatrick authored
R=golang-dev, dsymonds CC=golang-dev https://golang.org/cl/5322070
-
- 03 Nov, 2011 1 commit
-
-
Rob Pike authored
This is Go 1 package renaming CL #3. This one merely moves the source; the import strings will be changed after the next weekly release. This one moves pieces into net. http -> net/http http/cgi -> net/http/cgi http/fcgi -> net/http/fcgi http/pprof -> net/http/pprof http/httptest -> net/http/httptest mail -> net/mail rpc -> net/rpc rpc/jsonrpc -> net/rpc/jsonrpc smtp -> net/smtp url -> net/url Also remove rand (now math/rand) from NOTEST - it has a test. The only edits are in Makefiles and deps.bash. R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/5335048
-
- 02 Nov, 2011 1 commit
-
-
Russ Cox authored
R=golang-dev, iant CC=golang-dev https://golang.org/cl/5322051
-
- 24 Oct, 2011 1 commit
-
-
Brad Fitzpatrick authored
Fixes #2378 R=rsc CC=golang-dev https://golang.org/cl/5312052
-
- 14 Oct, 2011 1 commit
-
-
Brad Fitzpatrick authored
Fixes #2146 R=rsc CC=golang-dev https://golang.org/cl/5284041
-
- 12 Oct, 2011 1 commit
-
-
Brad Fitzpatrick authored
Its purpose is not only undocumented, it's also unknown (to me and Russ, at least) and leads to complexity, bugs and confusion. R=golang-dev, adg, rsc CC=golang-dev https://golang.org/cl/5213043
-
- 19 Sep, 2011 1 commit
-
-
Brad Fitzpatrick authored
Fixes #2272 R=rsc CC=golang-dev https://golang.org/cl/5043051
-
- 15 Sep, 2011 2 commits
-
-
Brad Fitzpatrick authored
Comments from rsc after 4921049 was submitted. R=rsc CC=golang-dev https://golang.org/cl/5034042
-
Brad Fitzpatrick authored
Fixes #2258 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5016048
-
- 23 Aug, 2011 1 commit
-
-
Brad Fitzpatrick authored
This adds http.MaxBytesReader, similar to io.LimitReader, but specific to http, and for preventing a class of DoS attacks. This also makes the 10MB ParseForm limit optional (if not already set by a MaxBytesReader), documents it, and also adds "PUT" as a valid verb for parsing forms in the request body. Improves issue 2093 (DoS protection) Fixes #2165 (PUT form parsing) R=golang-dev, adg CC=golang-dev https://golang.org/cl/4921049
-
- 18 Aug, 2011 2 commits
-
-
Brad Fitzpatrick authored
ParseMediaType previously documented that it always returned a non-nil map, but also documented that it returned a nil map to signal an error. That is confusing, contradictory and not Go-like. Now it returns (mediatype string, params map, os.Error). R=golang-dev, r CC=golang-dev https://golang.org/cl/4867054
-
Rob Pike authored
R=golang-dev, dsymonds, adg CC=golang-dev https://golang.org/cl/4907049
-
- 17 Aug, 2011 1 commit
-
-
Rob Pike authored
This is just moving the URL code from package http into its own package, which has been planned for a while. Besides clarity, this also breaks a nascent dependency cycle the new template package was about to introduce. Add a gofix module, url, and use it to generate changes outside http and url. Sadness about the churn, gladness about some of the naming improvements. R=dsymonds, bradfitz, rsc, gustavo, r CC=golang-dev https://golang.org/cl/4893043
-
- 10 Aug, 2011 1 commit
-
-
Brad Fitzpatrick authored
Addresses part of issue 2093 Thanks to espians....@ R=golang-dev, nigeltao CC=golang-dev https://golang.org/cl/4808087
-
- 27 Jul, 2011 1 commit
-
-
John Asmuth authored
R=gri CC=golang-dev https://golang.org/cl/4823054
-
- 21 Jul, 2011 1 commit
-
-
Russ Cox authored
ServeMux depends on having a URL in order to mux. It might be that the right fix is to have CONNECT handlers just not look at URL. ««« original CL description http: do not parse req.URL for CONNECT CONNECT's argument is not a URL. R=golang-dev, bradfitz, rsc CC=golang-dev https://golang.org/cl/4808044 »»» TBR=bradfitz CC=golang-dev https://golang.org/cl/4798046
-