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

Issue 173536: RDH: Don't attempt to sniff the mime type of requests that... (Closed)

Created:
11 years, 4 months ago by rvargas (doing something else)
Modified:
9 years, 6 months ago
Reviewers:
eroman, abarth-chromium
CC:
chromium-reviews_googlegroups.com, darin (slow to review), brettw, jam, Ben Goodger (Google)
Visibility:
Public.

Description

RDH: Don't attempt to sniff the mime type of requests that don't have a body. BUG=16873 TEST=unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=24977

Patch Set 1 #

Patch Set 2 : '' #

Total comments: 1

Patch Set 3 : '' #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+159 lines, -5 lines) Patch
M chrome/browser/renderer_host/buffered_resource_handler.cc View 1 2 3 chunks +7 lines, -3 lines 1 comment Download
M chrome/browser/renderer_host/resource_dispatcher_host_unittest.cc View 1 5 chunks +152 lines, -2 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
rvargas (doing something else)
11 years, 4 months ago (2009-08-26 23:04:08 UTC) #1
abarth-chromium
http://codereview.chromium.org/173536/diff/8/10 File chrome/browser/renderer_host/buffered_resource_handler.cc (right): http://codereview.chromium.org/173536/diff/8/10#newcode157 Line 157: response_->response_head.headers->response_code() == 204); I'm not sure this condition ...
11 years, 4 months ago (2009-08-27 02:46:39 UTC) #2
rvargas (doing something else)
On 2009/08/27 02:46:39, abarth wrote: > http://codereview.chromium.org/173536/diff/8/10 > File chrome/browser/renderer_host/buffered_resource_handler.cc (right): > > http://codereview.chromium.org/173536/diff/8/10#newcode157 > ...
11 years, 4 months ago (2009-08-27 02:59:31 UTC) #3
abarth-chromium
> To be totally honest, it just seemed simpler to write the code and fix ...
11 years, 4 months ago (2009-08-27 03:10:49 UTC) #4
rvargas (doing something else)
Please take another look.
11 years, 3 months ago (2009-08-28 18:21:47 UTC) #5
abarth-chromium
LGTM. Thanks.
11 years, 3 months ago (2009-08-29 05:41:41 UTC) #6
eroman
http://codereview.chromium.org/173536/diff/2001/2003 File chrome/browser/renderer_host/buffered_resource_handler.cc (right): http://codereview.chromium.org/173536/diff/2001/2003#newcode156 Line 156: (response_->response_head.headers->response_code() == 304 || I'm not sure that ...
11 years, 3 months ago (2009-09-01 03:30:57 UTC) #7
abarth-chromium
On 2009/09/01 03:30:57, eroman wrote: > I think it would be better to unify these ...
11 years, 3 months ago (2009-09-01 14:09:20 UTC) #8
eroman
11 years, 3 months ago (2009-09-08 22:51:34 UTC) #9
On Tue, Sep 1, 2009 at 7:09 AM, <abarth@chromium.org> wrote:

> On 2009/09/01 03:30:57, eroman wrote:
>
>> I think it would be better to unify these interpretations of HTTP
>>
> codes --
>
>> either by using shared functions living in src/net/http, or by
>>
> exporting the
>
>> information from the network module through some field in the response
>>
> object.
>
> Yeah, that makes sense.  Can you file a bug about this so we don't
> forget?
>
> Thanks,
> Adam


Done. Filed http://code.google.com/p/chromium/issues/detail?id=21325


>
>
>
> http://codereview.chromium.org/173536
>

Powered by Google App Engine
This is Rietveld 408576698