Skip to content

Commit

Permalink
Bug 1689979 [wpt PR 27421] - HTTP/1 status code tests, a=testonly
Browse files Browse the repository at this point in the history
Automatic update from web-platform-tests
HTTP/1 status code tests

For whatwg/fetch#1142 and whatwg/fetch#1159.
--

wpt-commits: a0ff0251fc21d0acd2e2443a033b390f44399b43
wpt-pr: 27421

UltraBlame original commit: 5eee1e3543982e0b2782b3fe9dda6cd64f59e0c5
  • Loading branch information
marco-c committed Feb 3, 2021
1 parent b599cc1 commit 3c8c6fc
Show file tree
Hide file tree
Showing 2 changed files with 463 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
def
main
(
request
response
)
:

output
=
"
HTTP
/
1
.
1
"

output
+
=
request
.
GET
.
first
(
"
input
"
)

output
+
=
"
\
n
"
+
"
header
-
parsing
:
is
sad
"
+
"
\
n
"

response
.
writer
.
write
(
output
)

response
.
close_connection
=
True
Loading

0 comments on commit 3c8c6fc

Please sign in to comment.