Closed Bug 1629133 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 22858 - Python 3: Add key "Content-Type" check for python 3 in webdriver test

Categories

(Testing :: geckodriver, task, P4)

task

Tracking

(firefox77 fixed)

RESOLVED FIXED
mozilla77
Tracking Status
firefox77 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 22858 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/22858
Details from upstream follow.

Ziran Sun <zsun@igalia.com> wrote:

Python 3: Add key "Content-Type" check for python 3 in webdriver test

In webdriver getheaders() API of http response returns lowercase key
"content-type" in python 2 and capitalized key "Content-Type" in python 3.
This probably is caused by different http libraries used. Python 2 uses
httplib and python 3 uses http.client for http connection.

Component: web-platform-tests → geckodriver
Test result changes from PR not available.
Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/284a376b6715 [wpt PR 22858] - Python 3: Add key "Content-Type" check for python 3 in webdriver test, a=testonly
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla77
You need to log in before you can comment on or make changes to this bug.