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

Issue 9627043: code review 9627043: net/http: don't send Accept-Encoding on HEAD requests (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 11 months ago by bradfitz
Modified:
10 years, 11 months ago
Reviewers:
iant
CC:
iant, gobot, golang-dev
Visibility:
Public.

Description

net/http: don't send Accept-Encoding on HEAD requests Works around a bug in nginx: http://trac.nginx.org/nginx/ticket/358 Fixes Issue 5522

Patch Set 1 #

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

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

Total comments: 1

Patch Set 4 : diff -r 26ed0c032256 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -4 lines) Patch
M src/pkg/net/http/transport.go View 1 1 chunk +6 lines, -1 line 0 comments Download
M src/pkg/net/http/transport_test.go View 1 2 3 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 4
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 11 months ago (2013-05-21 21:31:31 UTC) #1
gobot
R=iant (assigned by bradfitz)
10 years, 11 months ago (2013-05-21 21:34:45 UTC) #2
iant
LGTM https://codereview.appspot.com/9627043/diff/5001/src/pkg/net/http/transport_test.go File src/pkg/net/http/transport_test.go (right): https://codereview.appspot.com/9627043/diff/5001/src/pkg/net/http/transport_test.go#newcode598 src/pkg/net/http/transport_test.go:598: if req.Method == "HEAD" { Seems like you ...
10 years, 11 months ago (2013-05-21 22:13:01 UTC) #3
bradfitz
10 years, 11 months ago (2013-05-21 22:21:39 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=78e5ea623996 ***

net/http: don't send Accept-Encoding on HEAD requests

Works around a bug in nginx: http://trac.nginx.org/nginx/ticket/358

Fixes Issue 5522

R=iant
CC=gobot, golang-dev
https://codereview.appspot.com/9627043
Sign in to reply to this message.

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