summaryrefslogtreecommitdiff
path: root/src/pkg/http/request_test.go
AgeCommit message (Collapse)AuthorFilesLines
2011-01-17Imported Upstream version 2011.01.12upstream/2011.01.12Ondřej Surý1-11/+49
2010-03-16http: add ParseQueryPetar Maymounkov1-2/+1
R=rsc CC=golang-dev http://codereview.appspot.com/238041 Committer: Russ Cox <rsc@golang.org>
2010-03-04gofmt: modified algorithm for alignment of multi-line composite/list entriesRobert Griesemer1-1/+1
- only manual changes are in src/pkg/go/printer/nodes.go - use a heuristic to determine "outliers" such that not entire composites are forced to align with them - improves several places that were not unligned before due too simple heuristic - unalignes some cases that contain "outliers" - gofmt -w src misc Fixes issue 644. R=rsc, r CC=golang-dev http://codereview.appspot.com/241041
2010-03-02gofmt: experiment: align values in map composites where possibleRobert Griesemer1-4/+4
- gofmt -w src misc - looking for feedback R=rsc, r CC=golang-dev http://codereview.appspot.com/223076
2010-01-25http: make Request.Body an io.ReadCloser, matching Response.Body.Petar Maymounkov1-1/+1
R=rsc, rsc1 CC=golang-dev http://codereview.appspot.com/194046 Committer: Russ Cox <rsc@golang.org>
2009-12-151) Change default gofmt default settings forRobert Griesemer1-23/+23
parsing and printing to new syntax. Use -oldparser to parse the old syntax, use -oldprinter to print the old syntax. 2) Change default gofmt formatting settings to use tabs for indentation only and to use spaces for alignment. This will make the code alignment insensitive to an editor's tabwidth. Use -spaces=false to use tabs for alignment. 3) Manually changed src/exp/parser/parser_test.go so that it doesn't try to parse the parser's source files using the old syntax (they have new syntax now). 4) gofmt -w src misc test/bench 3rd set of files. R=rsc CC=golang-dev http://codereview.appspot.com/180048
2009-11-17http: do not crash accessing r.Form if ParseForm failsRuss Cox1-1/+2
Fixes issue 233. R=dsymonds1 http://codereview.appspot.com/154179
2009-11-09remove semis after statements in one-statement statement listsRobert Griesemer1-7/+7
R=rsc, r http://go/go-review/1025029
2009-11-08a nagging inconsistency: capitalization ofRuss Cox1-1/+1
HTML vs Html, URL vs Url, HTTP vs Http, current source is 6:1 in favor of the former, so change instances of the latter. R=r CC=go-dev http://go/go-review/1024026
2009-11-04gofmt-ify hash, httpRobert Griesemer1-3/+3
(gofmt will be able to re-align map entries as in http nicely, eventually) R=rsc http://go/go-review/1018055
2009-10-19test and fix http redirect handlingRuss Cox1-0/+15
BUG=2197242 R=r DELTA=16 (16 added, 0 deleted, 0 changed) OCL=35878 CL=35882
2009-10-06apply gofmt to go, gob, hash, http, image, io, json, logRuss Cox1-25/+19
R=gri DELTA=1359 (138 added, 32 deleted, 1189 changed) OCL=35408 CL=35420
2009-10-03Fixing HTTP POST handling to work with Chrome and Safari.Bill Neubauer1-1/+43
request.go does not handle Content-Type correctly for the definition of Media Types. http://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.7 R=rsc APPROVED=rsc DELTA=44 (42 added, 0 deleted, 2 changed) OCL=35274 CL=35306
2009-09-17unused importsRuss Cox1-5/+1
R=r OCL=34731 CL=34731
2009-09-14fix "declared and not used" errors in non-test code.Russ Cox1-2/+1
R=r DELTA=112 (6 added, 57 deleted, 49 changed) OCL=34610 CL=34610
2009-08-12convert non-low-level non-google pkg codeRuss Cox1-1/+0
to whole-package compilation. R=r OCL=33070 CL=33101
2009-06-25http Request parsing, plus a convenient accessor.David Symonds1-14/+24
R=rsc APPROVED=rsc DELTA=95 (40 added, 14 deleted, 41 changed) OCL=30727 CL=30784
2009-06-24style police: parens in if, for, switch, rangeRuss Cox1-2/+2
R=r DELTA=32 (0 added, 3 deleted, 29 changed) OCL=30718 CL=30725
2009-06-19Add form body parsing to http.Request.David Symonds1-0/+62
better error handling throughout. R=r,rsc APPROVED=r DELTA=254 (201 added, 3 deleted, 50 changed) OCL=30515 CL=30545