1
0
mirror of https://github.com/golang/go synced 2024-10-04 17:21:20 -06:00
go/src/pkg/http
Robert Griesemer 712fb6dcd3 os.Error API: don't export os.ErrorString, use os.NewError consistently
This is a core API change.

1) gofix misc src
2) Manual adjustments to the following files under src/pkg:
   gob/decode.go
   rpc/client.go
   os/error.go
   io/io.go
   bufio/bufio.go
   http/request.go
   websocket/client.go
as well as:
   src/cmd/gofix/testdata/*.go.in (reverted)
   test/fixedbugs/bug243.go
3) Implemented gofix patch (oserrorstring.go) and test case (oserrorstring_test.go)

Compiles and runs all tests.

R=r, rsc, gri
CC=golang-dev
https://golang.org/cl/4607052
2011-06-22 10:52:47 -07:00
..
cgi http: make Headers be source of truth 2011-06-16 13:02:28 -07:00
fcgi cgi: export RequestFromMap 2011-04-28 13:30:53 -07:00
httptest crypto: reorg, cleanup and add function for generating CRLs. 2011-06-06 10:35:46 -04:00
pprof http/pprof: fix POST reading bug 2011-05-02 17:34:22 -04:00
spdy http/spdy: improve error handling. 2011-06-14 11:31:18 -04:00
testdata http: ServeFile to handle Range header for partial requests 2010-12-10 08:51:13 +11:00
chunked.go http: add docs/warning on incorrect use of NewChunkedWriter 2011-05-22 18:46:48 -07:00
client_test.go http: make Headers be source of truth 2011-06-16 13:02:28 -07:00
client.go os.Error API: don't export os.ErrorString, use os.NewError consistently 2011-06-22 10:52:47 -07:00
cookie_test.go http: fix req.Cookie(name) with cookies in one header 2011-06-20 10:33:07 -07:00
cookie.go http: fix req.Cookie(name) with cookies in one header 2011-06-20 10:33:07 -07:00
dump.go http: clarify docs on Request HTTP version 2011-04-21 19:57:19 -07:00
export_test.go http: handler timeout support 2011-04-15 12:53:32 -07:00
fs_test.go http: ServeFile shouldn't send Content-Length when Content-Encoding is set 2011-06-02 13:36:52 -07:00
fs.go os.Error API: don't export os.ErrorString, use os.NewError consistently 2011-06-22 10:52:47 -07:00
header_test.go http: write Header keys with empty values 2011-06-20 14:36:03 -07:00
header.go http: write Header keys with empty values 2011-06-20 14:36:03 -07:00
lex_test.go gofmt -s -w src misc 2010-10-22 10:06:33 -07:00
lex.go single argument panic 2010-03-30 10:34:57 -07:00
Makefile http: reverse proxy handler 2011-04-15 08:13:52 -07:00
persist.go pkg: spelling tweaks, A-H 2011-05-18 13:14:56 -04:00
proxy_test.go http: add Transport.ProxySelector 2011-05-18 09:23:29 -07:00
range_test.go httptest: introduce TempServer, clean up tests 2011-03-05 13:51:35 -08:00
readrequest_test.go http: make Headers be source of truth 2011-06-16 13:02:28 -07:00
request_test.go pkg: fix incorrect prints found by govet 2011-05-14 20:43:18 -07:00
request.go os.Error API: don't export os.ErrorString, use os.NewError consistently 2011-06-22 10:52:47 -07:00
requestwrite_test.go http: make Headers be source of truth 2011-06-16 13:02:28 -07:00
response_test.go pkg: fix incorrect prints found by govet 2011-05-14 20:43:18 -07:00
response.go http: make Headers be source of truth 2011-06-16 13:02:28 -07:00
responsewrite_test.go http: remove finalURL from Client.Get; move to Response 2011-05-13 07:31:24 -07:00
reverseproxy_test.go http: make Headers be source of truth 2011-06-16 13:02:28 -07:00
reverseproxy.go http: make Headers be source of truth 2011-06-16 13:02:28 -07:00
serve_test.go http: permit handlers to explicitly remove the Date header 2011-06-20 13:39:03 -07:00
server.go http: permit handlers to explicitly remove the Date header 2011-06-20 13:39:03 -07:00
status.go http: revised http Handler interface 2010-09-29 14:30:12 +10:00
transfer.go http: fix handling of 0-lengthed http requests 2011-06-08 15:59:23 -07:00
transport_test.go http: Transport hook to register non-http(s) protocols 2011-05-25 12:31:11 -07:00
transport.go os.Error API: don't export os.ErrorString, use os.NewError consistently 2011-06-22 10:52:47 -07:00
triv.go http: make triv.go example compile again 2011-04-04 08:10:26 -07:00
url_test.go http: change most map[string][]string types to new Values type 2011-06-08 13:38:20 -07:00
url.go os.Error API: don't export os.ErrorString, use os.NewError consistently 2011-06-22 10:52:47 -07:00