[Webkit-unassigned] [Bug 31868] Web Inspector: Load InspectorResource mime type from CachedResource for 304 response

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 25 07:34:19 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=31868


Pavel Feldman <pfeldman at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #43843|review?                     |review-
               Flag|                            |




--- Comment #2 from Pavel Feldman <pfeldman at chromium.org>  2009-11-25 07:34:19 PST ---
(From update of attachment 43843)
> +    if (response.httpStatusCode() == 304) {
> +        CachedResource* cachedResource = cache()->resourceForURL(response.url().string());
> +        if (cachedResource)
> +            m_mimeType = cachedResource->response().mimeType();
> +    }

Could you do this only in case network stack did not provide this information
&& 304?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list