Closed
Bug 1279830
Opened 8 years ago
Closed 8 years ago
Add content-type to form submission script responses
Categories
(Testing :: web-platform-tests, defect)
Testing
web-platform-tests
Tracking
(firefox50 fixed)
RESOLVED
FIXED
mozilla50
Tracking | Status | |
---|---|---|
firefox50 | --- | fixed |
People
(Reporter: jgraham, Assigned: jgraham)
Details
Attachments
(1 file)
Otherwise a dialog pops up and badness happens
Assignee | ||
Comment 1•8 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/59126/diff/#index_header See other reviews: https://reviewboard.mozilla.org/r/59126/
Attachment #8762423 -
Flags: review?(Ms2ger)
Comment 2•8 years ago
|
||
https://reviewboard.mozilla.org/r/59126/#review56128 ::: testing/web-platform/tests/common/form-submission.py:4 (Diff revision 1) > def main(request, response): > if request.headers.get('Content-Type') == 'application/x-www-form-urlencoded': > if request.body == 'foo=bara': > - return 'OK' > + return ([("Content-Type", "text/plain")], 'OK') This duplication kinda sucks... Can you put the string in a local and return it with the headers at the end?
Assignee | ||
Comment 3•8 years ago
|
||
Comment on attachment 8762423 [details] Bug 1279830 - Add a content-type to form-submission script response, Review request updated; see interdiff: https://reviewboard.mozilla.org/r/59126/diff/1-2/
Comment 4•8 years ago
|
||
Comment on attachment 8762423 [details] Bug 1279830 - Add a content-type to form-submission script response, https://reviewboard.mozilla.org/r/59126/#review56132
Attachment #8762423 -
Flags: review?(Ms2ger) → review+
Pushed by james@hoppipolla.co.uk: https://hg.mozilla.org/integration/mozilla-inbound/rev/d3841e305b11 Add a content-type to form-submission script response, r=Ms2ger
Comment 6•8 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d3841e305b11
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox50:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Updated•8 years ago
|
Assignee: nobody → james
You need to log in
before you can comment on or make changes to this bug.
Description
•