Closed Bug 1507428 Opened Last year Closed Last year
Response header content-type has invalid value
47 bytes, text/x-phabricator-request
|Details | Review|
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.77 Safari/537.36 Steps to reproduce: Create a session with arbitrary capabilities. Actual results: Received response with header: "content-type": "application/json; charset=utf8" Expected results: Receive response with header: "content-type": "application/json; charset=utf-8"
The line that needs to be changed is here: https://searchfox.org/mozilla-central/rev/c0b26c40769a1e5607a1ae8be37fe64df64fc55e/testing/webdriver/src/server.rs#229
Assignee: nobody → ato
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Did you write a test for this in WPT?
I made a PR for this: https://github.com/web-platform-tests/wpt/pull/14074 , you already reviewed it.
The Content-Type header contains the correct MIME type, but the charset option is "utf8" and invalid: it should be "utf-8".
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/b6010c470851 webdriver: fix incorrect Content-Type header; r=whimboo
You need to log in before you can comment on or make changes to this bug.