Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(111)

Issue 4389048: code review 4389048: http: client gzip support (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years ago by bradfitz
Modified:
14 years ago
Reviewers:
tarm
CC:
adg, rsc, bradfitzgoog, golang-dev
Visibility:
Public.

Description

http: client gzip support

Patch Set 1 #

Patch Set 2 : diff -r 54ff1e593606 https://go.googlecode.com/hg/ #

Patch Set 3 : diff -r 54ff1e593606 https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 4 : diff -r 54ff1e593606 https://go.googlecode.com/hg/ #

Total comments: 4

Patch Set 5 : diff -r fe2421ba8894 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -4 lines) Patch
M src/pkg/http/transport.go View 1 2 3 4 4 chunks +30 lines, -2 lines 0 comments Download
M src/pkg/http/transport_test.go View 1 2 3 4 5 chunks +101 lines, -2 lines 0 comments Download

Messages

Total messages: 14
bradfitz
Hello adg, rsc (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
14 years ago (2011-04-12 01:19:42 UTC) #1
adg
http://codereview.appspot.com/4389048/diff/3001/src/pkg/http/transport.go File src/pkg/http/transport.go (right): http://codereview.appspot.com/4389048/diff/3001/src/pkg/http/transport.go#newcode481 src/pkg/http/transport.go:481: // own value for Accept-Encoding. We only attempted to ...
14 years ago (2011-04-12 01:30:02 UTC) #2
bradfitz
Anybody know a server that supports deflate to test against? Apache 2 (mod_deflate) doesn't seem ...
14 years ago (2011-04-12 01:37:42 UTC) #3
rsc
http://codereview.appspot.com/4389048/diff/3001/src/pkg/http/transport.go File src/pkg/http/transport.go (right): http://codereview.appspot.com/4389048/diff/3001/src/pkg/http/transport.go#newcode487 src/pkg/http/transport.go:487: req.Header.Set("Accept-Encoding", "gzip") On 2011/04/12 01:30:02, adg wrote: > should ...
14 years ago (2011-04-12 03:20:59 UTC) #4
bradfitz
Hello adg, rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years ago (2011-04-12 03:36:21 UTC) #5
bradfitz
On Mon, Apr 11, 2011 at 8:20 PM, <rsc@golang.org> wrote: > > > http://codereview.appspot.com/4389048/diff/3001/src/pkg/http/transport.go#newcode513 > ...
14 years ago (2011-04-12 03:37:19 UTC) #6
rsc
LGTM http://codereview.appspot.com/4389048/diff/5002/src/pkg/http/transport_test.go File src/pkg/http/transport_test.go (right): http://codereview.appspot.com/4389048/diff/5002/src/pkg/http/transport_test.go#newcode361 src/pkg/http/transport_test.go:361: fmt.Fprintf(gz, "%s", testString) gz.Write([]byte(testString)) http://codereview.appspot.com/4389048/diff/5002/src/pkg/http/transport_test.go#newcode378 src/pkg/http/transport_test.go:378: t.Fatalf("Expected response ...
14 years ago (2011-04-12 03:50:44 UTC) #7
bradfitzgoog
http://codereview.appspot.com/4389048/diff/5002/src/pkg/http/transport_test.go File src/pkg/http/transport_test.go (right): http://codereview.appspot.com/4389048/diff/5002/src/pkg/http/transport_test.go#newcode380 src/pkg/http/transport_test.go:380: } On 2011/04/12 03:50:44, rsc wrote: > func TestTransportGzipRecursive(t ...
14 years ago (2011-04-12 04:43:11 UTC) #8
rsc
>> func TestTransportGzipRecursive(t *testing.T) { > > But this would fail. It would've been gunzipped ...
14 years ago (2011-04-12 11:38:21 UTC) #9
bradfitz
On Tue, Apr 12, 2011 at 4:38 AM, Russ Cox <rsc@golang.org> wrote: > >> func ...
14 years ago (2011-04-12 16:18:45 UTC) #10
bradfitz
*** Submitted as http://code.google.com/p/go/source/detail?r=88adc4cc4c14 *** http: client gzip support R=adg, rsc, bradfitzwork CC=golang-dev http://codereview.appspot.com/4389048
14 years ago (2011-04-12 16:35:18 UTC) #11
rsc
> So basically all it tests is that it doesn't loop forever , which is ...
14 years ago (2011-04-12 18:24:08 UTC) #12
bradfitz
On Tue, Apr 12, 2011 at 11:24 AM, Russ Cox <rsc@golang.org> wrote: > > So ...
14 years ago (2011-04-12 18:26:47 UTC) #13
tarm
14 years ago (2011-04-21 20:42:19 UTC) #14
Please see
http://code.google.com/p/go/issues/detail?id=1724
which I believe was caused by this changeset.

Thanks,
Tarmigan
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b