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

Issue 4018041: code review 4018041: http: Fixed implementation of chunked and ranged responses.

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 9 months ago by clementskau
Modified:
1 year, 11 months ago
Reviewers:
CC:
rsc, golang-dev
Visibility:
Public.

Description

http: Fixed implementation of chunked and ranged responses. See RFC2616 sections 14.16, 4.4 2. and 4.4 3. Specifically MUST NOT send Content-Length when Transfer-Encoding != "identity". And Content-Range must be on form "bytes N_s-N_e/N_t" Where N_s and N_e is zero-indexed, while N_t is the one-indexed total length.

Patch Set 1 #

Patch Set 2 : code review 4018041: http: Fixed implementation of chunked and ranged responses. #

Total comments: 2

Patch Set 3 : code review 4018041: http: Fixed implementation of chunked and ranged responses. #

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

Messages

Total messages: 4
clementskau
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change.
14 years, 9 months ago (2011-01-14 14:47:55 UTC) #1
rsc
Thanks for tracking these down. Please make the fixes below and re-run hg mail 4018041. ...
14 years, 9 months ago (2011-01-18 19:58:53 UTC) #2
clementskau
Hello rsc (cc: golang-dev@googlegroups.com), Please take another look.
14 years, 9 months ago (2011-01-19 12:42:18 UTC) #3
rsc
14 years, 9 months ago (2011-01-19 15:05:51 UTC) #4
*** Submitted as ac02197d4e1f *** http: fix Content-Range and Content-Length in response RFC2616 sections 4.4 and 14.16: * Cannot use Content-Length with non-identity Transfer-Encoding * Content-Range response is "bytes x-y/z" not "x-y/z" R=rsc CC=golang-dev http://codereview.appspot.com/4018041 Committer: Russ Cox <rsc@golang.org>
Sign in to reply to this message.

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