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

Issue 6472055: code review 6472055: net/http: send an explicit zero Content-Length when Han... (Closed)

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

Description

net/http: send an explicit zero Content-Length when Handler never Writes Fixes issue 4004

Patch Set 1 #

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

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

Total comments: 6

Patch Set 4 : diff -r 9e610a78455c https://go.googlecode.com/hg/ #

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

Patch Set 6 : diff -r 57039cf95e89 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -2 lines) Patch
M src/pkg/net/http/serve_test.go View 1 2 1 chunk +32 lines, -0 lines 0 comments Download
M src/pkg/net/http/server.go View 1 2 3 1 chunk +10 lines, -2 lines 0 comments Download

Messages

Total messages: 6
bradfitz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://go.googlecode.com/hg/
11 years, 8 months ago (2012-08-26 06:39:08 UTC) #1
r
http://codereview.appspot.com/6472055/diff/5001/src/pkg/net/http/server.go File src/pkg/net/http/server.go (right): http://codereview.appspot.com/6472055/diff/5001/src/pkg/net/http/server.go#newcode516 src/pkg/net/http/server.go:516: // response header, set it explicitly to zero. This ...
11 years, 8 months ago (2012-08-26 13:28:32 UTC) #2
bradfitz
Hello golang-dev@googlegroups.com, r@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
11 years, 8 months ago (2012-08-26 16:24:45 UTC) #3
bradfitz
https://codereview.appspot.com/6472055/diff/5001/src/pkg/net/http/server.go File src/pkg/net/http/server.go (right): https://codereview.appspot.com/6472055/diff/5001/src/pkg/net/http/server.go#newcode516 src/pkg/net/http/server.go:516: // response header, set it explicitly to zero. This ...
11 years, 8 months ago (2012-08-26 16:25:03 UTC) #4
r
LGTM much clearer
11 years, 8 months ago (2012-08-26 18:10:20 UTC) #5
bradfitz
11 years, 8 months ago (2012-08-26 18:18:01 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=c552fb2b6a6c ***

net/http: send an explicit zero Content-Length when Handler never Writes

Fixes issue 4004

R=golang-dev, r
CC=golang-dev
http://codereview.appspot.com/6472055
Sign in to reply to this message.

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