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

Issue 84480045: code review 84480045: net/http: don't reject 0-lengthed bodies with Expect 10... (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
10 years, 1 month ago by bradfitz
Modified:
10 years, 1 month ago
Reviewers:
gobot, dsymonds
CC:
golang-codereviews, dsymonds, adg, rsc
Visibility:
Public.

Description

net/http: don't reject 0-lengthed bodies with Expect 100-continue I was implementing rules from RFC 2616. The rules are apparently useless, ambiguous, and too strict for common software on the Internet. (e.g. curl) Add more tests, including a test of a chunked request. Fixes Issue 7625

Patch Set 1 #

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

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

Total comments: 2

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+50 lines, -20 lines) Patch
M src/pkg/net/http/serve_test.go View 1 2 2 chunks +49 lines, -13 lines 0 comments Download
M src/pkg/net/http/server.go View 1 2 1 chunk +1 line, -7 lines 0 comments Download

Messages

Total messages: 6
bradfitz
Hello golang-codereviews@googlegroups.com (cc: adg@golang.org, dsymonds@golang.org, rsc@golang.org), I'd like you to review this change to https://go.googlecode.com/hg/
10 years, 1 month ago (2014-04-11 04:40:35 UTC) #1
dsymonds
LGTM https://codereview.appspot.com/84480045/diff/40001/src/pkg/net/http/serve_test.go File src/pkg/net/http/serve_test.go (right): https://codereview.appspot.com/84480045/diff/40001/src/pkg/net/http/serve_test.go#newcode1025 src/pkg/net/http/serve_test.go:1025: var targ io.WriteCloser = struct { neat trick. ...
10 years, 1 month ago (2014-04-11 04:46:27 UTC) #2
bradfitz
I will submit this as-is since you don't seem to care too much, and it's ...
10 years, 1 month ago (2014-04-11 05:19:38 UTC) #3
dsymonds
LGTM yes, I got confused. it's fine.
10 years, 1 month ago (2014-04-11 05:20:37 UTC) #4
bradfitz
*** Submitted as https://code.google.com/p/go/source/detail?r=872cad382ed5 *** net/http: don't reject 0-lengthed bodies with Expect 100-continue I was ...
10 years, 1 month ago (2014-04-11 05:25:38 UTC) #5
gobot
10 years, 1 month ago (2014-04-11 06:56:43 UTC) #6
Message was sent while issue was closed.
This CL appears to have broken the netbsd-amd64-bsiegert builder.
See http://build.golang.org/log/940378e642a02cb59f2bb00c73aadbde3c888f26
Sign in to reply to this message.

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