An error occurred fetching the project authors.
- 08 Sep, 2014 1 commit
-
-
Russ Cox authored
Preparation was in CL 134570043. This CL contains only the effect of 'hg mv src/pkg/* src'. For more about the move, see golang.org/s/go14nopkg.
-
- 12 Mar, 2014 1 commit
-
-
Brad Fitzpatrick authored
Per RFC 3875 section 6 rules. Fixes #7198 LGTM=adg R=adg CC=golang-codereviews https://golang.org/cl/68960049
-
- 06 Mar, 2014 1 commit
-
-
Brad Fitzpatrick authored
Fixes #7196 LGTM=rsc R=golang-codereviews, rsc CC=golang-codereviews, iant https://golang.org/cl/69970052
-
- 08 Feb, 2012 1 commit
-
-
Rob Pike authored
It complicates the interface unnecessarily. Document this in go1.html. Also update the go/doc Makefile. Fixes #2836. R=golang-dev, gri, bradfitz CC=golang-dev https://golang.org/cl/5642054
-
- 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
-
- 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
-
- 26 Oct, 2011 1 commit
-
-
Russ Cox authored
Nothing terribly interesting here. R=golang-dev, bradfitz, gri, r CC=golang-dev https://golang.org/cl/5300043
-
- 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
-
- 16 Sep, 2011 1 commit
-
-
Yasuhiro Matsumoto authored
clean up duplicate environment for CGI. overriding former by latter. On windows, When there are duplicated environments like following, SCRIPT_FILENAME=c:/progra~1/php/php-cgi.exe SCRIPT_FILENAME=/foo.php CreateProcess use first entry. If make cgi.Handle like following, cgih = cgi.Handler{ Path: "c:/strawberry/perl/bin/perl.exe", Dir: "c:/path/to/webroot", Root: "c:/path/to/webroot", Args: []string{"foo.php"}, Env: []string{"SCRIPT_FILENAME=foo.php"}, } http/cgi should behave "SCRIPT_FILENAME is foo.php". But currently, http/cgi is set duplicate environment entries. So, browser show binary dump of "php-cgi.exe" that is specified indented SCRIPT_FILENAME in first entry. This change clean up duplicates, and use latters. R=golang-dev, bradfitz, bradfitz CC=golang-dev https://golang.org/cl/5010044
-
- 15 Sep, 2011 1 commit
-
-
Brad Fitzpatrick authored
R=iant, iant CC=golang-dev https://golang.org/cl/5016051
-
- 06 Sep, 2011 1 commit
-
-
Robert Griesemer authored
R=r CC=golang-dev https://golang.org/cl/4984052
-
- 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
-
- 11 Jul, 2011 1 commit
-
-
Brad Fitzpatrick authored
This causes the child, if still writing, to get an error or SIGPIPE and most likely exit so our subsequent wait can finish. A more guaranteed fix would be putting a time limit on the child's overall execution, but this fixes the problem I was having. Fixes #2059 R=rsc CC=golang-dev https://golang.org/cl/4675081
-
- 30 Jun, 2011 1 commit
-
-
Yasuhiro Matsumoto authored
R=golang-dev, bradfitz, alex.brainman CC=golang-dev https://golang.org/cl/4635042
-
- 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
-
- 02 Jun, 2011 1 commit
-
-
Brad Fitzpatrick authored
It gets annoying to do this in caller code otherwise, especially having to remember to Close one side. R=rsc CC=golang-dev https://golang.org/cl/4517134
-
- 01 Jun, 2011 1 commit
-
-
Brad Fitzpatrick authored
This removes exec.Run and replaces exec.Cmd with a new implementation. The new exec.Cmd represents both a currently-running command and also a command being prepared. It has a good zero value. You can Start + Wait on a Cmd, or simply Run it. Start (and Run) deal with copying stdout, stdin, and stderr between the Cmd's io.Readers and io.Writers. There are convenience methods to capture a command's stdout and/or stderr. R=r, n13m3y3r, rsc, gustavo, alex.brainman, dsymonds, r, adg, duzy.chan, mike.rosset, kevlar CC=golang-dev https://golang.org/cl/4552052
-
- 29 Apr, 2011 1 commit
-
-
Ian Lance Taylor authored
Used by gccgo. R=bradfitz CC=golang-dev https://golang.org/cl/4435080
-
- 28 Apr, 2011 1 commit
-
-
Evan Shaw authored
R=rsc, bradfitz CC=golang-dev https://golang.org/cl/4452056
-
- 27 Apr, 2011 1 commit
-
-
Brad Fitzpatrick authored
Add local URI path support, which isn't as fringe as I originally thought. (it's supported by Apache) Send an implicit 302 status on redirects (not 200). Fixes #1597 R=rsc, r CC=golang-dev https://golang.org/cl/4442089
-
- 22 Apr, 2011 2 commits
-
-
Brad Fitzpatrick authored
This isn't really part of RFC 3875 but matches the behavior of Apache, et al. R=iant, iant2 CC=golang-dev https://golang.org/cl/4435065
-
Ian Lance Taylor authored
R=bradfitz, bradfitzwork, iant2, bradfitzgo CC=golang-dev https://golang.org/cl/4444058
-
- 13 Apr, 2011 1 commit
-
-
Adam Langley authored
It matches encoding/line exactly and the tests are copied from there. If we land this, then encoding/line will get marked as deprecated then deleted in time. R=rsc, rog, peterGo CC=golang-dev https://golang.org/cl/4389046
-
- 10 Mar, 2011 1 commit
-
-
Brad Fitzpatrick authored
ResponseWriter.RemoteAddr() string -> Request.RemoteAddr string ResponseWriter.UsingTLS() bool -> Request.TLS *tls.ConnectionState R=rsc, bradfitzwork CC=gburd, golang-dev https://golang.org/cl/4248075
-
- 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
-
- 08 Mar, 2011 1 commit
-
-
Brad Fitzpatrick authored
The http/cgi package now supports both being a CGI host or being a CGI child process. R=rsc, adg, bradfitzwork CC=golang-dev https://golang.org/cl/4245070
-
- 04 Mar, 2011 1 commit
-
-
Brad Fitzpatrick authored
R=rsc, adg, jnw, bradfitzwork CC=golang-dev https://golang.org/cl/4247048
-