Bug 99145 - Web Inspector: Show request body source in request headers view.
: Web Inspector: Show request body source in request headers view.
: WebKit
Web Inspector (Deprecated)
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To:
  Show dependency treegraph
Reported: 2012-10-12 00:20 PST by
Modified: 2012-10-12 02:20 PST (History)

screenshot (149.42 KB, image/png)
2012-10-12 00:29 PST, Vsevolod Vlasov
no flags Details
Patch (11.96 KB, patch)
2012-10-12 00:30 PST, Vsevolod Vlasov
no flags Review Patch | Details | Formatted Diff | Diff


You need to log in before you can comment on or make changes to this bug.

Description From 2012-10-12 00:20:02 PST
User report: 

Currently on the Network -> Headers tab, you can see the form data submitted on a POST request. However, unlike with Request Headers and Response Headers, there isn't a "view source" option to see this form data in the raw.

This option would be helpful, as it's (a) easier to see subtle syntax issues this way. 

I ran into this problem today, where a piece of form data had quotes around it when it shouldn't have. Since you often see quotes around string data to distinguish them from other datatypes (e.g., JSON), this didn't immediately stand out. I spent a few hours troubleshooting, thinking the problem was somewhere else, until I used Firebug with Firefox, and viewing the raw data immediately made the quotes stand out.
------- Comment #1 From 2012-10-12 00:29:03 PST -------
Created an attachment (id=168370) [details]
------- Comment #2 From 2012-10-12 00:30:22 PST -------
Created an attachment (id=168371) [details]
------- Comment #3 From 2012-10-12 00:33:39 PST -------
Attachment 168371 [details] did not pass style-queue:

Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1
Source/WebCore/ChangeLog:25:  Need whitespace between colon and description  [changelog/filechangedescriptionwhitespace] [5]
Total errors found: 1 in 4 files

If any of these errors are false positives, please file a bug against check-webkit-style.
------- Comment #4 From 2012-10-12 02:20:37 PST -------
(From update of attachment 168371 [details])
Clearing flags on attachment: 168371

Committed r131161: <http://trac.webkit.org/changeset/131161>
------- Comment #5 From 2012-10-12 02:20:41 PST -------
All reviewed patches have been landed.  Closing bug.