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

Issue 13846043: code review 13846043: net/http: accept Content-Range for entire file (Closed)

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

Description

net/http: accept Content-Range for entire file Fixes a bug reported privately.

Patch Set 1 #

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

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

Patch Set 4 : diff -r 44e7a81a3736 https://code.google.com/p/go/ #

Total comments: 3

Patch Set 5 : diff -r ac9ace96f1e0 https://code.google.com/p/go/ #

Patch Set 6 : diff -r ac9ace96f1e0 https://code.google.com/p/go/ #

Patch Set 7 : diff -r e98b4542af61 https://code.google.com/p/go/ #

Patch Set 8 : diff -r ec7b58d6a977 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -1 line) Patch
M src/pkg/net/http/fs.go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/http/fs_test.go View 1 2 3 4 5 3 chunks +7 lines, -0 lines 0 comments Download

Messages

Total messages: 10
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
13 years, 2 months ago (2013-09-23 20:29:01 UTC) #1
rsc
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
13 years, 2 months ago (2013-09-23 20:29:18 UTC) #2
bradfitz
https://codereview.appspot.com/13846043/diff/9001/src/pkg/net/http/fs_test.go File src/pkg/net/http/fs_test.go (right): https://codereview.appspot.com/13846043/diff/9001/src/pkg/net/http/fs_test.go#newcode54 src/pkg/net/http/fs_test.go:54: {r: "bytes=0-11", code: StatusPartialContent, ranges: []wantRange{{0, testFileLen}}}, The second ...
13 years, 2 months ago (2013-09-23 20:37:06 UTC) #3
rsc
PTAL https://codereview.appspot.com/13846043/diff/9001/src/pkg/net/http/fs_test.go File src/pkg/net/http/fs_test.go (right): https://codereview.appspot.com/13846043/diff/9001/src/pkg/net/http/fs_test.go#newcode54 src/pkg/net/http/fs_test.go:54: {r: "bytes=0-11", code: StatusPartialContent, ranges: []wantRange{{0, testFileLen}}}, On ...
13 years, 2 months ago (2013-09-23 20:42:48 UTC) #4
bradfitz
https://codereview.appspot.com/13846043/diff/9001/src/pkg/net/http/fs_test.go File src/pkg/net/http/fs_test.go (right): https://codereview.appspot.com/13846043/diff/9001/src/pkg/net/http/fs_test.go#newcode54 src/pkg/net/http/fs_test.go:54: {r: "bytes=0-11", code: StatusPartialContent, ranges: []wantRange{{0, testFileLen}}}, On 2013/09/23 ...
13 years, 2 months ago (2013-09-23 20:56:29 UTC) #5
rsc
no, the upload failed, sorry. now PTAL the cases you wanted are all there already.
13 years, 2 months ago (2013-09-23 21:12:00 UTC) #6
bradfitz
LGTM
13 years, 2 months ago (2013-09-23 21:13:15 UTC) #7
bradfitz
You never use testFileLenStr though. On Mon, Sep 23, 2013 at 2:13 PM, <bradfitz@golang.org> wrote: ...
13 years, 2 months ago (2013-09-23 21:13:47 UTC) #8
rsc
testFileLenStr is a dreg, removing...
13 years, 2 months ago (2013-09-23 21:15:00 UTC) #9
rsc
13 years, 2 months ago (2013-09-23 21:17:03 UTC) #10
*** Submitted as https://code.google.com/p/go/source/detail?r=fa9c4c1f250d ***

net/http: accept Content-Range for entire file

Fixes a bug reported privately.

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

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