summaryrefslogtreecommitdiffstats
path: root/llhttp/test/response/lenient-version.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--llhttp/test/response/lenient-version.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/llhttp/test/response/lenient-version.md b/llhttp/test/response/lenient-version.md
new file mode 100644
index 0000000..86c6ede
--- /dev/null
+++ b/llhttp/test/response/lenient-version.md
@@ -0,0 +1,20 @@
+Lenient HTTP version parsing
+============================
+
+### Invalid HTTP version (lenient)
+
+<!-- meta={"type": "response-lenient-version"} -->
+```http
+HTTP/5.6 200 OK
+
+
+```
+
+```log
+off=0 message begin
+off=5 len=3 span[version]="5.6"
+off=8 version complete
+off=13 len=2 span[status]="OK"
+off=17 status complete
+off=19 headers complete status=200 v=5/6 flags=0 content_length=0
+```