diff options
Diffstat (limited to 'src/pkg/http/responsewrite_test.go')
-rw-r--r-- | src/pkg/http/responsewrite_test.go | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/pkg/http/responsewrite_test.go b/src/pkg/http/responsewrite_test.go index 1c7c5f72a..768064303 100644 --- a/src/pkg/http/responsewrite_test.go +++ b/src/pkg/http/responsewrite_test.go @@ -18,12 +18,12 @@ var respWriteTests = []respWriteTest{ // HTTP/1.0, identity coding; no trailer respWriteTest{ Response{ - StatusCode: 503, - ProtoMajor: 1, - ProtoMinor: 0, + StatusCode: 503, + ProtoMajor: 1, + ProtoMinor: 0, RequestMethod: "GET", - Header: map[string]string{}, - Body: nopCloser{bytes.NewBufferString("abcdef")}, + Header: map[string]string{}, + Body: nopCloser{bytes.NewBufferString("abcdef")}, ContentLength: 6, }, @@ -34,15 +34,15 @@ var respWriteTests = []respWriteTest{ // HTTP/1.1, chunked coding; empty trailer; close respWriteTest{ Response{ - StatusCode: 200, - ProtoMajor: 1, - ProtoMinor: 1, - RequestMethod: "GET", - Header: map[string]string{}, - Body: nopCloser{bytes.NewBufferString("abcdef")}, - ContentLength: 6, + StatusCode: 200, + ProtoMajor: 1, + ProtoMinor: 1, + RequestMethod: "GET", + Header: map[string]string{}, + Body: nopCloser{bytes.NewBufferString("abcdef")}, + ContentLength: 6, TransferEncoding: []string{"chunked"}, - Close: true, + Close: true, }, "HTTP/1.1 200 OK\r\n" + |