path: tests/fixtures/llhttp/response/http-100-first-then-400.yml
name: HTTP 100 First, Then 400
checked: true
source:
  path: test/response/connection.md
  line: 586
meta:
  type: response
input:
- HTTP/1.1 100 Continue
- ''
- ''
- HTTP/1.1 404 Not Found
- 'Content-Type: text/plain; charset=utf-8'
- 'Content-Length: 14'
- 'Date: Fri, 15 Sep 2023 19:47:23 GMT'
- 'Server: Python/3.10 aiohttp/4.0.0a2.dev0'
- ''
- '404: Not Found'
llhttp:
- off=0 message begin
- off=0 len=4 span[protocol]="HTTP"
- off=4 protocol complete
- off=5 len=3 span[version]="1.1"
- off=8 version complete
- off=13 len=8 span[status]="Continue"
- off=23 status complete
- off=25 headers complete status=100 v=1/1 flags=0 content_length=0
- off=25 message complete
- off=27 reset
- off=27 message begin
- off=27 len=4 span[protocol]="HTTP"
- off=31 protocol complete
- off=32 len=3 span[version]="1.1"
- off=35 version complete
- off=40 len=9 span[status]="Not Found"
- off=51 status complete
- off=51 len=12 span[header_field]="Content-Type"
- off=64 header_field complete
- off=65 len=25 span[header_value]="text/plain; charset=utf-8"
- off=92 header_value complete
- off=92 len=14 span[header_field]="Content-Length"
- off=107 header_field complete
- off=108 len=2 span[header_value]="14"
- off=112 header_value complete
- off=112 len=4 span[header_field]="Date"
- off=117 header_field complete
- off=118 len=29 span[header_value]="Fri, 15 Sep 2023 19:47:23 GMT"
- off=149 header_value complete
- off=149 len=6 span[header_field]="Server"
- off=156 header_field complete
- off=157 len=32 span[header_value]="Python/3.10 aiohttp/4.0.0a2.dev0"
- off=191 header_value complete
- off=193 headers complete status=404 v=1/1 flags=20 content_length=14
- 'off=193 len=14 span[body]="404: Not Found"'
- off=207 message complete
output:
- offset: 0
  type: response
  payload: null
- offset: 0
  type: begin
  payload: null
- offset: 0
  type: protocol
  payload: HTTP
- offset: 5
  type: version
  payload: '1.1'
- offset: 9
  type: status
  payload: '100'
- offset: 13
  type: reason
  payload: Continue
- offset: 25
  type: headers
  payload:
    method: null
    status: 100
    url: null
    protocol: HTTP
    version: '1.1'
    body: null
- offset: 25
  type: complete
  payload: null
- offset: 25
  type: response
  payload: null
- offset: 25
  type: begin
  payload: null
- offset: 27
  type: protocol
  payload: HTTP
- offset: 32
  type: version
  payload: '1.1'
- offset: 36
  type: status
  payload: '404'
- offset: 40
  type: reason
  payload: Not Found
- offset: 51
  type: header_name
  payload: Content-Type
- offset: 65
  type: header_value
  payload: text/plain; charset=utf-8
- offset: 92
  type: header_name
  payload: Content-Length
- offset: 108
  type: header_value
  payload: '14'
- offset: 112
  type: header_name
  payload: Date
- offset: 118
  type: header_value
  payload: Fri, 15 Sep 2023 19:47:23 GMT
- offset: 149
  type: header_name
  payload: Server
- offset: 157
  type: header_value
  payload: Python/3.10 aiohttp/4.0.0a2.dev0
- offset: 193
  type: headers
  payload:
    method: null
    status: 404
    url: null
    protocol: HTTP
    version: '1.1'
    body: 14
- offset: 193
  type: data
  payload: '404: Not Found'
- offset: 207
  type: body
  payload: null
- offset: 207
  type: complete
  payload: null
