Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
Use a count of -1 for infinity. Ditto for Replace.
R=rsc
CC=golang-dev
http://codereview.appspot.com/1704044
Committer: Rob Pike <r@golang.org>
|
|
Fixes issue 893.
R=rsc
CC=golang-dev
http://codereview.appspot.com/1687045
|
|
This CL replaces my earlier http://codereview.appspot.com/1640044/show
in which Continue handling was explicit. Instead, this CL makes
it automatic. Reading from Body() is an implicit acknowledgement
that the request headers were fine and the body is wanted. In that
case, the 100 Continue response is written automatically when the
request continues the "Expect: 100-continue" header.
R=rsc, adg
CC=golang-dev
http://codereview.appspot.com/1610042
Committer: Russ Cox <rsc@golang.org>
|
|
R=gri
CC=golang-dev
http://codereview.appspot.com/1620042
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/1581041
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/1539042
|
|
- cannot send body
- should not send body-related headers
R=r
CC=golang-dev
http://codereview.appspot.com/1499041
|
|
R=gri
CC=golang-dev
http://codereview.appspot.com/1326042
|
|
Fixes issue 775.
R=rsc
CC=golang-dev
http://codereview.appspot.com/1180042
|
|
R=adg
CC=golang-dev
http://codereview.appspot.com/813043
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/833044
|
|
note that sortmain.go has been run through hg gofmt;
only the formatting of the day initializers changed.
i'm happy to revert that formatting if you'd prefer.
stop on error in doc/progs/run
R=r
CC=golang-dev
http://codereview.appspot.com/850041
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/763042
|
|
in the tests, println+panic.
gofmt some tests too.
R=rsc
CC=golang-dev
http://codereview.appspot.com/741041
|
|
R=r
CC=golang-dev
http://codereview.appspot.com/719041
|
|
R=r, rsc
CC=golang-dev
http://codereview.appspot.com/626042
|
|
The new meaning is more useful for both websocket and http.
R=r, petar-m, ukai
CC=golang-dev, madari
http://codereview.appspot.com/582043
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/238041
Committer: Russ Cox <rsc@golang.org>
|
|
- 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
|
|
- gofmt -w src misc
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/223101
|
|
Fixes issue 622.
R=rsc
CC=golang-dev
http://codereview.appspot.com/224084
|
|
- gofmt -w src misc
- looking for feedback
R=rsc, r
CC=golang-dev
http://codereview.appspot.com/223076
|
|
- gofmt -w src misc
- improves several lists and fixes minor degradation introduced
with the fix for issue 628
- removed some dead code (stringList)
R=rsc
CC=golang-dev
http://codereview.appspot.com/223058
|
|
gofmt -w -r 'strings.Bytes(a) -> []byte(a)' src/cmd src/pkg test/bench
gofmt -w -r 'strings.Runes(a) -> []int(a)' src/cmd src/pkg test/bench
delete unused imports
R=r
CC=golang-dev
http://codereview.appspot.com/224062
|
|
default to HTTP/1.1
R=petar-m
CC=golang-dev
http://codereview.appspot.com/224041
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/217066
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/217059
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc, adg
CC=golang-dev
http://codereview.appspot.com/217071
Committer: Andrew Gerrand <adg@golang.org>
|
|
Compliance issue addressed here: POST requests carrying form data are required
to use "identity" transfer encoding by common nginx and apache server configurations,
e.g. wordpress.com (and many others). So, Request needed to be able to send
non-chunked encodings.
Thus, Request is extended to support identity and chunked encodings, like
Response. Since the Read() and Write() logic are shared by both (and are
quite long), it is exported in a separate file transfer.go.
R=rsc
CC=golang-dev
http://codereview.appspot.com/217048
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/216052
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/206050
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/203051
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/207061
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 580.
R=adg
CC=golang-dev
http://codereview.appspot.com/207086
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/199070
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/186160
Committer: Russ Cox <rsc@golang.org>
|
|
since they were causing a silent program exit (too many EPIPE's).
R=rsc
CC=golang-dev
http://codereview.appspot.com/204062
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/203050
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc
CC=golang-dev
http://codereview.appspot.com/196079
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc, rsc1
CC=golang-dev
http://codereview.appspot.com/195068
Committer: Russ Cox <rsc@golang.org>
|
|
Fixes issue 566.
R=rsc
CC=golang-dev
http://codereview.appspot.com/194074
Committer: Russ Cox <rsc@golang.org>
|
|
In particular, add field-value tokenizer which respects quoting rules.
The code is intended for use in tokenizing the Transfer-Encoding and Trailer fields.
The lexing function is not connected to the main parsing code yet (in the next CL).
R=rsc
CC=golang-dev
http://codereview.appspot.com/190085
Committer: Russ Cox <rsc@golang.org>
|
|
(1) http.Response must close resp.Body after writing.
(2) Case when resp.Body != nil and resp.ContentLength = 0 should not be
treated as an error in Response.Write, because this is what
ReadResponse often returns.
(3) Changed body.th to body.hdr for readability.
R=rsc
CC=golang-dev
http://codereview.appspot.com/194084
Committer: Russ Cox <rsc@golang.org>
|
|
R=rsc, rsc1
CC=golang-dev
http://codereview.appspot.com/194046
Committer: Russ Cox <rsc@golang.org>
|
|
Was trying to interpret raw body as chunked body.
Add test for ReadResponse.
Fixes issue 544.
R=r, petar-m
CC=golang-dev, shadowice
http://codereview.appspot.com/190068
|