Open Bug 882476 Opened 12 years ago Updated 3 years ago

Response header does not display until buffering was completed/download was completed

Categories

(DevTools :: Netmonitor, defect, P3)

defect

Tracking

(Not tracked)

People

(Reporter: alice0775, Unassigned)

References

(Blocks 1 open bug)

Details

Build Identifier: http://hg.mozilla.org/mozilla-central/rev/0414d6d0f60d Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20130612 Firefox/24.0 ID:20130612031138 Steps To Reproduce: 1. Clear cache if necessary 2. Open Web Console(Ctrl+Shift+K) and turn on Net "Log Request and Response Bodies" 3. Open mp3 ex. http://radioexpress.com/public/demo_audio/btb_NT_SAMPLE_MUSIC_BEDS_Tune_Up_138bpm_A.mp3 http://www.fbcdixon.net/sermons/06.09.13.mp3 4. Click a Net log entry --- observe Response header 5. Wait to completion buffering and Click a Net log entry when completed buffering (NOTE: this may fail due to Bug 882470. until fixed the Bug 882470, you need reload) --- observe Response header Actual Results: No Response header displayed at Step 4 Expected Results: Response header should display at Step 4
This also happens down load a file. Steps To Reproduce: 1. Clear cache if necessary 2. Open http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central/ 3. Click on zip file 4. Click a Net log entry --- observe Response header 5. Choose Open / Save and Wait for the completion of the command 6. Click a Net log entry --- observe Response header Actual Results: No Response header displayed at Step 4
Summary: Response header does not display until buffering was complete → Response header does not display until buffering was completed/download was completed
Thanks for the bug report. This is working as expected, within technical limits. We are waiting for the parsed HTTP headers from Gecko. I haven't found a way to get them earlier. Suggestions are welcome.
Severity: normal → minor
OS: Windows 7 → All
Priority: -- → P4
Hardware: x86_64 → All
(In reply to Mihai Sucan [:msucan] from comment #2) > Thanks for the bug report. > > This is working as expected, within technical limits. We are waiting for the > parsed HTTP headers from Gecko. I haven't found a way to get them earlier. > Suggestions are welcome. I do not believe that this is Gecko limitation. Because, This addon can handle response header during buffering https://addons.mozilla.org/en-US/firefox/addon/live-http-headers
Live HTTP headers prints the raw HTTP headers, unparsed, as they are received - I know how we can do that quite earlier. However, we wait for the parsed HTTP headers. I'm not saying it's impossible, but back when I wrote the code it wasn't obvious how to do it earlier.
I tested this in Firefox 59, and I still see an issue. In the console and netmonitor, the request is displayed for som time, and then disappears.
Component: Developer Tools: Console → Developer Tools: Netmonitor
Priority: P4 → P3
Product: Firefox → DevTools
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.