Sign in
cobalt
/
cobalt
/
refs/heads/20.lts.stable
/
.
/
src
/
third_party
/
web_platform_tests
/
XMLHttpRequest
/
resources
/
echo-method.py
blob: 5351d1961ac0254106c374e2b2ead84bbc6878d4 [
file
] [
log
] [
blame
] [
edit
]
def
main
(
request
,
response
):
response
.
send_body_for_head_request
=
True
headers
=
[(
"Content-type"
,
"text/plain"
)]
content
=
request
.
method
return
headers
,
content