New issue
Advanced search Search tips

Issue 765050 link

Starred by 2 users

Issue metadata

Status: Closed
Owner:
Closed: Sep 21
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

HAR export doesn't include 301 response - starts from first 200 response

Reported by aph3r...@gmail.com, Sep 14 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.113 Safari/537.36

Steps to reproduce the problem:
1. Open DevTools NM tab
2. Navigate to a page that immediately responds with 301 (e.g. to redirect HTTP to HTTPS)
3. Attempt to export an HAR of the responses
4. Observe that the 301 redirect is missing from the HAR.

What is the expected behavior?
301s, and other redirects, should be included in the HAR.

Realistically, it'd be nice to export either all transactions visible in the NM, selected (see 620607), or something to that effect.

What went wrong?
The redirect was omitted from the HAR, and the first transaction was the 200 response of the main page.

I've attached two HARs - one from IE, and one from Chrome, both for the same page. Note that IE's includes the 301.

Did this work before? N/A 

Chrome version: 60.0.3112.113  Channel: stable
OS Version: 10.0
Flash Version:
 
ie.har
1.3 MB Download
chrome.har
1.2 MB Download
Components: -Platform>DevTools Platform>DevTools>Network
Owner: allada@chromium.org
Status: Assigned (was: Unconfirmed)
Owner: eostroukhov@chromium.org
Owner: jarhar@chromium.org
Status: Closed (was: Assigned)
The attached chrome.har file does contain the 301 response just like ie.har, although it is not the first item in the list of entries. Exporting a HAR of the same url (http://www.vancouver.wsu.edu/) lists a 301 response as the first entry on 69.0.3497.100

Sign in to add a comment