JavaUrlRequest crashes on HTTP 304 |
|
Issue descriptionIn JavaUrlRequest, fireGetHeaders() considers and 3xx response code a redirect and in turn fireRedirectReceived() gets the location header and crashes if it's null.
,
Oct 21
Hi, can I get started this issue?
,
Oct 22
comment #2: Sure. I think the original reporter realized they shouldn't be manually adding If-None-Match or If-Modified-Since headers and should instead let Cronet's cache control these headers. Cronet should at least not crash in these cases. I think in the past another Cronet user got a redirect response code from a broken server that forgot to include the Location header; again this should not crash Cronet. |
|
►
Sign in to add a comment |
|
Comment 1 by pauljensen@chromium.org
, Oct 4