Closed Bug 1277285 Opened 9 years ago Closed 8 years ago

"Edit and Resend" moves some http headers to request body

Categories

(DevTools :: Netmonitor, defect, P2)

46 Branch
x86_64
Windows 10
defect

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: flowmemo, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0 Build ID: 20160502172042 Steps to reproduce: 1. Go to https://github.com/login 2. Open Firefox developer tools and go to Network tab. 3. Input arbitrary fake username and password in Github's login form(I choose "testname" and "testpassword") 4. Click "Sign in" Button. 5. You will see a POST request to https://github.com/session in Develoer tools. Select it and click "Edit and Resend" button in "Headers" tab. Actual results: You would see the first two lines in "Request Body" are: Content-Type: application/x-www-form-urlencoded Content-Length: 190 And there is nothing about content-type and content-length in "Request Headers". BTW, those two headers are from "Request headers from upload stream". Expected results: Those two headers should appear in "Request Headers" instead of "Request Body"
Component: Untriaged → Developer Tools: Netmonitor
OS: Unspecified → Windows 10
Hardware: Unspecified → x86_64
Thanks for the report, I can reproduce the problem on my machine. Honza
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P2
I can still reproduce this bug in 51.0.1 (64-bit), but cannot in 53.0a2 (2017-02-17) (64-bit). Are there some updates on this issue?
@Fred, can you please take a look at this report? Is it fixed in Nightly? Honza
Flags: needinfo?(gasolin)
I can confirm its fixed in 53a2 and nightly(54). Though we basically rewrite the custom request view in Bug 1308449, but it was landed in 54(not 53), so this might be a fix from the backend(actor) side.
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(gasolin)
Resolution: --- → WORKSFORME
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.