Closed Bug 934401 Opened 12 years ago Closed 9 years ago

The POST content is not visible when there is no classic POST data sent.

Categories

(DevTools :: Console, defect)

28 Branch
x86_64
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: manchokapitancho, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:28.0) Gecko/20100101 Firefox/28.0 (Beta/Release) Build ID: 20131102080838 Steps to reproduce: Perform an XMLHttpRequest that sends a POST data in JSON format (or any format that is not like a=b&c=d .... Actual results: The only way to see the posted data is by clicking "Edit and resend". There the posted data is displayed correctly in the "Request Body" textarea. Expected results: The posted data should have been visible as a separate section in the Headers tab or in the Params tab in a similar way like form data is currently displayed.
Component: Untriaged → Networking: HTTP
Product: Firefox → Core
Same result with FF25?
Flags: needinfo?(manchokapitancho)
Yes, the same result.
Flags: needinfo?(manchokapitancho)
Component: Networking: HTTP → Developer Tools
Product: Core → Firefox
Do you see the POST data in the web console's network panel? Click on the POST request.
Nope, it's not displayed there.
Thanks for checking. Can you please provide us with a test page?
Component: Developer Tools → Developer Tools: Netmonitor
Yes, there it is: http://crop-factor.net/ff/ I found out when this happens - when this one is set: [setRequestHeader ("Content-Type", "application/x-www-form-urlencoded; charset=utf-8");] I give 4 examples - with and without this header + classic post vs JSON post data. Only the combination of the header and the JSON post data does not work.
Moving this to the webconsole since it seems to be a problem with the actors (comment 4).
Status: UNCONFIRMED → NEW
Component: Developer Tools: Netmonitor → Developer Tools: Console
Ever confirmed: true
The test page still works (thanks Marian Kostadinov for a very helpful test page!). The Params tab currently shows the JSON object, so I believe this can be closed.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: