Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(179)

Issue 12595004: Fix handling to responses to HEAD requests (Closed)

Created:
7 years, 9 months ago by Søren Gjesse
Modified:
7 years, 9 months ago
Reviewers:
Anders Johnsen
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix handling to responses to HEAD requests The HTTP parser did not handle requests to HEAD requests if chunked transfer encoding is used by in the response. The check for chunked encoding was done before checking for a response to a head request. R=ajohnsen@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=19612

Patch Set 1 #

Total comments: 2

Patch Set 2 : Addressed review comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -30 lines) Patch
M sdk/lib/io/http_impl.dart View 1 6 chunks +14 lines, -17 lines 0 comments Download
M sdk/lib/io/http_parser.dart View 1 1 chunk +6 lines, -6 lines 0 comments Download
M tests/standalone/io/http_head_test.dart View 3 chunks +28 lines, -7 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Søren Gjesse
7 years, 9 months ago (2013-03-07 09:16:09 UTC) #1
Anders Johnsen
LGTM, nice find. From a bug? https://codereview.chromium.org/12595004/diff/1/sdk/lib/io/http_parser.dart File sdk/lib/io/http_parser.dart (right): https://codereview.chromium.org/12595004/diff/1/sdk/lib/io/http_parser.dart#newcode570 sdk/lib/io/http_parser.dart:570: (_messageType == _MessageType.RESPONSE ...
7 years, 9 months ago (2013-03-07 09:38:59 UTC) #2
Søren Gjesse
No bug report - something I found while making other updates. https://codereview.chromium.org/12595004/diff/1/sdk/lib/io/http_parser.dart File sdk/lib/io/http_parser.dart (right): ...
7 years, 9 months ago (2013-03-07 11:42:10 UTC) #3
Søren Gjesse
7 years, 9 months ago (2013-03-07 11:44:56 UTC) #4
Message was sent while issue was closed.
Committed patchset #2 manually as r19612 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698