An error occurred fetching the project authors.
  1. 21 May, 2012 1 commit
  2. 30 Jan, 2012 1 commit
  3. 08 Nov, 2011 1 commit
  4. 03 Nov, 2011 1 commit
    • Rob Pike's avatar
      net: renamings · de03d502
      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
      de03d502
  5. 02 Nov, 2011 1 commit
  6. 23 Sep, 2011 1 commit
  7. 15 Sep, 2011 1 commit
  8. 27 Jun, 2011 1 commit
  9. 16 Jun, 2011 1 commit
    • Brad Fitzpatrick's avatar
      http: make Headers be source of truth · 6e9b1a78
      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
      6e9b1a78
  10. 13 May, 2011 1 commit
    • Brad Fitzpatrick's avatar
      http: remove finalURL from Client.Get; move to Response · 05a1b7ec
      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
      05a1b7ec
  11. 28 Apr, 2011 1 commit
  12. 12 Mar, 2011 1 commit
  13. 09 Mar, 2011 1 commit
    • Brad Fitzpatrick's avatar
      http: change ResponseWriter.SetHeader(k,v) to Header() accessor · 2c420ece
      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
      2c420ece
  14. 07 Mar, 2011 1 commit
  15. 06 Mar, 2011 1 commit
  16. 01 Mar, 2011 1 commit
  17. 23 Feb, 2011 1 commit
  18. 05 Jan, 2011 1 commit
  19. 30 Mar, 2010 1 commit
  20. 03 Mar, 2010 1 commit
  21. 02 Mar, 2010 2 commits
  22. 24 Feb, 2010 1 commit
  23. 19 Feb, 2010 2 commits
  24. 10 Feb, 2010 1 commit
  25. 06 Feb, 2010 1 commit
  26. 28 Jan, 2010 1 commit
  27. 26 Jan, 2010 1 commit
  28. 20 Jan, 2010 1 commit
  29. 19 Jan, 2010 1 commit