Bug 94103 - Web Inspector: Populate HAR for the redirectURL field of response
Summary: Web Inspector: Populate HAR for the redirectURL field of response
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-15 06:44 PDT by Libo Song
Modified: 2014-12-12 14:36 PST (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Libo Song 2012-08-15 06:44:09 PDT
When a HTTP redirect is cached, the generated HAR does not include HTTP headers for the cached entry. Therefore, there is no way to determine which destination URL if this redirect. Here is an example of the response:
        "response": {
          "status": 301,
          "statusText": "Moved Permanently",
          "httpVersion": "HTTP/1.1",
          "headers": [],
          "cookies": [],
          "content": {
            "size": 0,
            "mimeType": "text/html"
          },
          "redirectURL": "",
          "headersSize": 32,
          "bodySize": 0
        },
It will be more useful if the "headers" are populated. If that is not possible, it is still useful if only the "redirectURL" is populated.
Comment 1 Brian Burg 2014-12-12 14:36:02 PST
Closing as invalid, as this bug pertains to the old inspector UI and/or its tests.
Please file a new bug (https://www.webkit.org/new-inspector-bug) if the bug/feature/issue is still relevant to WebKit trunk.