blob: a545d41b2a9fbc0311133a62f049837789428d8f [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<meta charset=windows-1252>
<title>XMLHttpRequest: open() - URL encoding</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="https://xhr.spec.whatwg.org/#the-open()-method" data-tested-assertations="following::ol/li[7] following::ol/li[14]/ul/li[2]" />
</head>
<body>
<div id="log"></div>
<script>
test(function() {
var client = new XMLHttpRequest()
client.open("GET", "resources/content.py?ß", false)
client.send(null)
assert_equals(client.getResponseHeader("x-request-query"), "%C3%9F")
})
</script>
</body>
</html>