From 4ae0ed29a283c16d1c83ef704c4d75170c3801e6 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Tue, 20 Jan 2009 14:40:40 -0800 Subject: delete export TBR=r OCL=23121 CL=23127 --- src/lib/http/request.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/lib/http/request.go') diff --git a/src/lib/http/request.go b/src/lib/http/request.go index 1335c48b4..ba1a7a694 100644 --- a/src/lib/http/request.go +++ b/src/lib/http/request.go @@ -19,7 +19,7 @@ const ( _MaxHeaderLines = 1024; ) -export var ( +var ( LineTooLong = os.NewError("http header line too long"); ValueTooLong = os.NewError("http header value too long"); HeaderTooLong = os.NewError("http header too long"); @@ -29,7 +29,7 @@ export var ( ) // HTTP Request -export type Request struct { +type Request struct { method string; // GET, PUT,etc. rawurl string; url *URL; // URI after GET, PUT etc. @@ -180,7 +180,7 @@ func parseHTTPVersion(vers string) (int, int, bool) { } // Read and parse a request from b. -export func ReadRequest(b *bufio.BufRead) (req *Request, err *os.Error) { +func ReadRequest(b *bufio.BufRead) (req *Request, err *os.Error) { req = new(Request); // First line: GET /index.html HTTP/1.0 -- cgit v1.2.3