Revision 0b94ea95c4e0639d9363cee4603545324f047456 authored by James Graham on 11 April 2018, 14:49:07 UTC, committed by James Graham on 11 April 2018, 14:49:07 UTC
1 parent 72160f1
response-method.htm
<!doctype html>
<html>
<head>
<title>XMLHttpRequest: influence of HTTP method on response</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"></div>
<script>
["GET", "HEAD", "POST"].forEach(function(method) {
test(function() {
var client = new XMLHttpRequest()
client.open(method, "resources/echo-method.py", false)
client.send()
assert_equals(client.responseText, (method === "HEAD" ? "" : method))
}, method)
})
</script>
</body>
</html>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...