Sign in
webkit
/
WebKit
/
1af45fc1915c308be35b19553899267f3a4f02ea
/
.
/
LayoutTests
/
http
/
tests
/
xmlhttprequest
/
resources
/
echo-request-method.py
blob: aaa74c17463d2b8c55592122ea23abb7b29eb733 [
file
] [
log
] [
blame
]
#!/usr/bin/env python3
import
os
import
sys
sys
.
stdout
.
write
(
'Content-Type: text/html\r\n'
'X-CUSTOM-REQUEST-METHOD: {}\r\n'
'\r\n'
.
format
(
os
.
environ
.
get
(
'REQUEST_METHOD'
,
'NOT_SET'
))
)