An error occurred fetching the project authors.
- 21 May, 2012 1 commit
-
-
Brad Fitzpatrick authored
Fixes #3636 R=golang-dev, adg CC=golang-dev https://golang.org/cl/6203094
-
- 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
-
- 08 Nov, 2011 1 commit
-
-
Rob Pike authored
R=rsc CC=golang-dev https://golang.org/cl/5345045
-
- 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
-
- 23 Sep, 2011 1 commit
-
-
Brad Fitzpatrick authored
Fixes #2300 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5117041
-
- 15 Sep, 2011 1 commit
-
-
Brad Fitzpatrick authored
Fixes #2208 R=golang-dev, rsc CC=golang-dev https://golang.org/cl/5011051
-
- 27 Jun, 2011 1 commit
-
-
Rob Pike authored
Change the signature of Split to have no count, assuming a full split, and rename the existing Split with a count to SplitN. Do the same to package bytes. Add a gofix module. R=adg, dsymonds, alex.brainman, rsc CC=golang-dev https://golang.org/cl/4661051
-
- 16 Jun, 2011 1 commit
-
-
Brad Fitzpatrick authored
Previously Request and Response had redundant fields for Referer, UserAgent, and cookies which caused confusion and bugs. It also didn't allow us to expand the package over time, since the way to access fields would be in the Headers one day and promoted to a field the next day. That would be hard to gofix, especially with code ranging over Headers. After a discussion on the mail package's design with a similar problem, we've designed to make the Headers be the source of truth and add accessors instead. Request: change: Referer -> Referer() change: UserAgent -> UserAgent() change: Cookie -> Cookies() new: Cookie(name) *Cookie new: AddCookie(*Cookie) Response: change: Cookie -> Cookies() Cookie: new: String() string R=rsc CC=golang-dev https://golang.org/cl/4620049
-
- 13 May, 2011 1 commit
-
-
Brad Fitzpatrick authored
This CL: -- removes Response.RequestMethod string -- adds Response.Request *Request -- removes the finalURL result parameter from client.Get() -- adds a gofix rule for callers of http.Get which assign the final url to the blank identifier; warning otherwise Caller who did: res, finalURL, err := http.Get(...) now need to do: res, err := http.Get(...) if err != nil { ... } finalURL := res.Request.URL.String() R=rsc CC=golang-dev https://golang.org/cl/4535056
-
- 28 Apr, 2011 1 commit
-
-
Evan Shaw authored
R=golang-dev, bradfitz, dsymonds CC=golang-dev https://golang.org/cl/4426069
-
- 12 Mar, 2011 1 commit
-
-
Brad Fitzpatrick authored
Also don't serialize empty headers. R=dsymonds, rsc CC=golang-dev https://golang.org/cl/4275045
-
- 09 Mar, 2011 1 commit
-
-
Brad Fitzpatrick authored
Caller code needs to change: rw.SetHeader("Content-Type", "text/plain") to: rw.Header().Set("Content-Type", "text/plain") This now permits returning multiple headers with the same name using Add: rw.Header().Add("Set-Cookie", "..") rw.Header().Add("Set-Cookie", "..") This patch also fixes serialization of headers, removing newline characters. Fixes #488 Fixes #914 R=rsc CC=gburd, golang-dev https://golang.org/cl/4239076
-
- 07 Mar, 2011 1 commit
-
-
Russ Cox authored
R=bradfitzgo, dsymonds CC=golang-dev https://golang.org/cl/4244053
-
- 06 Mar, 2011 1 commit
-
-
Petar Maymounkov authored
R=rsc1, mattn, bradfitzwork, pascal, bradfitzgo CC=golang-dev https://golang.org/cl/4214042
-
- 01 Mar, 2011 1 commit
-
-
David Symonds authored
R=rsc, adg CC=golang-dev https://golang.org/cl/4244045
-
- 23 Feb, 2011 1 commit
-
-
Petar Maymounkov authored
textproto: introduce Header type websocket: use new interface to access Header R=rsc, mattn CC=golang-dev https://golang.org/cl/4185053
-
- 05 Jan, 2011 1 commit
-
-
Brad Fitzpatrick authored
Fixes #1388. R=rsc CC=golang-dev https://golang.org/cl/3749043
-
- 30 Mar, 2010 1 commit
-
-
Russ Cox authored
R=r CC=golang-dev https://golang.org/cl/833044
-
- 03 Mar, 2010 1 commit
-
-
Robert Griesemer authored
- gofmt -w src misc R=rsc, r CC=golang-dev https://golang.org/cl/223101
-
- 02 Mar, 2010 2 commits
-
-
Andrew Gerrand authored
Fixes #622. R=rsc CC=golang-dev https://golang.org/cl/224084
-
Robert Griesemer authored
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev https://golang.org/cl/223076
-
- 24 Feb, 2010 1 commit
-
-
Russ Cox authored
default to HTTP/1.1 R=petar-m CC=golang-dev https://golang.org/cl/224041
-
- 19 Feb, 2010 2 commits
-
-
Petar Maymounkov authored
Compliance issue addressed here: POST requests carrying form data are required to use "identity" transfer encoding by common nginx and apache server configurations, e.g. wordpress.com (and many others). So, Request needed to be able to send non-chunked encodings. Thus, Request is extended to support identity and chunked encodings, like Response. Since the Read() and Write() logic are shared by both (and are quite long), it is exported in a separate file transfer.go. R=rsc CC=golang-dev https://golang.org/cl/217048
-
Petar Maymounkov authored
R=rsc CC=golang-dev https://golang.org/cl/207061
-
- 10 Feb, 2010 1 commit
-
-
Petar Maymounkov authored
since they were causing a silent program exit (too many EPIPE's). R=rsc CC=golang-dev https://golang.org/cl/204062
-
- 06 Feb, 2010 1 commit
-
-
Petar Maymounkov authored
R=rsc CC=golang-dev https://golang.org/cl/203050
-
- 28 Jan, 2010 1 commit
-
-
Petar Maymounkov authored
(1) http.Response must close resp.Body after writing. (2) Case when resp.Body != nil and resp.ContentLength = 0 should not be treated as an error in Response.Write, because this is what ReadResponse often returns. (3) Changed body.th to body.hdr for readability. R=rsc CC=golang-dev https://golang.org/cl/194084
-
- 26 Jan, 2010 1 commit
-
-
Petar Maymounkov authored
R=rsc, rsc1 CC=golang-dev https://golang.org/cl/194046
-
- 20 Jan, 2010 1 commit
-
-
Russ Cox authored
Was trying to interpret raw body as chunked body. Add test for ReadResponse. Fixes #544. R=r, petar-m CC=golang-dev, shadowice https://golang.org/cl/190068
-
- 19 Jan, 2010 1 commit
-
-
Petar Maymounkov authored
usage pattern of http.Request and paves the way to persistent connection handling. R=rsc CC=golang-dev https://golang.org/cl/185043
-