This commit is contained in:
Francesco Cozzuto
2023-01-23 22:04:08 +01:00
parent 5234fc73a8
commit 248fc1d1a8
4 changed files with 25 additions and 6 deletions
+2 -2
View File
@@ -284,7 +284,7 @@ fun parseHead(src: String) {
if scan->hint(0) != "\r"
or scan->hint(1) != "\n": {
# Request with no headers or body
return {
method: method,
@@ -333,7 +333,7 @@ fun parseHead(src: String) {
assert(char == "\r" and scan->hint(1) == "\n");
scan->consume(2); # Consume the final "\r\n"
}
return {
method: method,
url: url,