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

Issue 31810043: code review 31810043: net/http: empty contenty-type treated as application/oc...

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

Description

net/http: empty content-type treated as application/octet-stream RFC 2616, section 7.2.1 - empty type SHOULD be treated as application/octet-stream. Fixes issue 6616.

Patch Set 1 #

Patch Set 2 : diff -r 1140207a3395 https://code.google.com/p/go/ #

Patch Set 3 : diff -r 1140207a3395 https://code.google.com/p/go/ #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -2 lines) Patch
M src/pkg/net/http/request.go View 1 1 chunk +5 lines, -0 lines 1 comment Download
M src/pkg/net/http/request_test.go View 1 1 chunk +3 lines, -2 lines 1 comment Download

Messages

Total messages: 7
j.czarnowicz
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 11 months ago (2013-11-24 23:49:32 UTC) #1
gobot
R=bradfitz@golang.org (assigned by rsc@google.com)
11 years, 10 months ago (2013-12-18 18:02:55 UTC) #2
bradfitz
Please sign the CLA. See http://golang.org/doc/contribute.html#copyright Also, two typos. One in CL description: "contenty-type" And ...
11 years, 10 months ago (2013-12-18 18:11:18 UTC) #3
josharian
https://codereview.appspot.com/31810043/diff/40001/src/pkg/net/http/request.go File src/pkg/net/http/request.go (right): https://codereview.appspot.com/31810043/diff/40001/src/pkg/net/http/request.go#newcode685 src/pkg/net/http/request.go:685: ct, _, err = mime.ParseMediaType(ct) Seems like mime.ParseMediaType could ...
11 years, 10 months ago (2013-12-18 19:54:25 UTC) #4
gobot
Replacing golang-dev with golang-codereviews.
11 years, 10 months ago (2013-12-20 16:26:05 UTC) #5
bradfitz
LGTM On Fri, Dec 20, 2013 at 8:26 AM, <gobot@golang.org> wrote: > Replacing golang-dev with ...
11 years, 10 months ago (2013-12-20 19:49:37 UTC) #6
bradfitz
11 years, 10 months ago (2013-12-20 19:49:45 UTC) #7
*** Submitted as https://code.google.com/p/go/source/detail?r=a768c0592b88 *** net/http: empty contenty-type treated as application/octet-stream RFC 2616, section 7.2.1 - empty type SHOULD be treated as application/octet-stream. Fixes issue 6616. R=golang-codereviews, gobot, bradfitz, josharian CC=golang-codereviews https://codereview.appspot.com/31810043 Committer: Brad Fitzpatrick <bradfitz@golang.org>
Sign in to reply to this message.

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