File: lenient-version.md

package info (click to toggle)
python-aiohttp 3.13.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,964 kB
  • sloc: python: 62,038; ansic: 20,773; makefile: 417; sh: 3
file content (22 lines) | stat: -rw-r--r-- 441 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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=0 len=4 span[protocol]="HTTP"
off=4 protocol complete
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
```