path: tests/fixtures/llhttp/response/spaces-in-header-value.yml
name: Spaces In Header Value
checked: true
source:
  path: test/response/sample.md
  line: 494
meta:
  type: response
input:
- HTTP/1.1 200 OK
- 'Date: Tue, 28 Sep 2010 01:14:13 GMT'
- 'Server: Apache'
- 'Cache-Control: no-cache, must-revalidate'
- 'Expires: Mon, 26 Jul 1997 05:00:00 GMT'
- '.et-Cookie: PlaxoCS=1274804622353690521; path=/; domain=.plaxo.com'
- 'Vary: Accept-Encoding'
- '_eep-Alive: timeout=45'
- '_onnection: Keep-Alive'
- 'Transfer-Encoding: chunked'
- 'Content-Type: text/html'
- 'Connection: close'
- ''
- '0'
- ''
- ''
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=2 span[status]="OK"
- off=17 status complete
- off=17 len=4 span[header_field]="Date"
- off=22 header_field complete
- off=23 len=29 span[header_value]="Tue, 28 Sep 2010 01:14:13 GMT"
- off=54 header_value complete
- off=54 len=6 span[header_field]="Server"
- off=61 header_field complete
- off=62 len=6 span[header_value]="Apache"
- off=70 header_value complete
- off=70 len=13 span[header_field]="Cache-Control"
- off=84 header_field complete
- off=85 len=25 span[header_value]="no-cache, must-revalidate"
- off=112 header_value complete
- off=112 len=7 span[header_field]="Expires"
- off=120 header_field complete
- off=121 len=29 span[header_value]="Mon, 26 Jul 1997 05:00:00 GMT"
- off=152 header_value complete
- off=152 len=10 span[header_field]=".et-Cookie"
- off=163 header_field complete
- off=164 len=54 span[header_value]="PlaxoCS=1274804622353690521; path=/; domain=.plaxo.com"
- off=220 header_value complete
- off=220 len=4 span[header_field]="Vary"
- off=225 header_field complete
- off=226 len=15 span[header_value]="Accept-Encoding"
- off=243 header_value complete
- off=243 len=10 span[header_field]="_eep-Alive"
- off=254 header_field complete
- off=255 len=10 span[header_value]="timeout=45"
- off=267 header_value complete
- off=267 len=10 span[header_field]="_onnection"
- off=278 header_field complete
- off=279 len=10 span[header_value]="Keep-Alive"
- off=291 header_value complete
- off=291 len=17 span[header_field]="Transfer-Encoding"
- off=309 header_field complete
- off=310 len=7 span[header_value]="chunked"
- off=319 header_value complete
- off=319 len=12 span[header_field]="Content-Type"
- off=332 header_field complete
- off=333 len=9 span[header_value]="text/html"
- off=344 header_value complete
- off=344 len=10 span[header_field]="Connection"
- off=355 header_field complete
- off=356 len=5 span[header_value]="close"
- off=363 header_value complete
- off=365 headers complete status=200 v=1/1 flags=20a content_length=0
- off=368 chunk header len=0
- off=370 chunk complete
- off=370 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: '200'
- offset: 13
  type: reason
  payload: OK
- offset: 17
  type: header_name
  payload: Date
- offset: 23
  type: header_value
  payload: Tue, 28 Sep 2010 01:14:13 GMT
- offset: 54
  type: header_name
  payload: Server
- offset: 62
  type: header_value
  payload: Apache
- offset: 70
  type: header_name
  payload: Cache-Control
- offset: 85
  type: header_value
  payload: no-cache, must-revalidate
- offset: 112
  type: header_name
  payload: Expires
- offset: 121
  type: header_value
  payload: Mon, 26 Jul 1997 05:00:00 GMT
- offset: 152
  type: header_name
  payload: .et-Cookie
- offset: 164
  type: header_value
  payload: PlaxoCS=1274804622353690521; path=/; domain=.plaxo.com
- offset: 220
  type: header_name
  payload: Vary
- offset: 226
  type: header_value
  payload: Accept-Encoding
- offset: 243
  type: header_name
  payload: _eep-Alive
- offset: 255
  type: header_value
  payload: timeout=45
- offset: 267
  type: header_name
  payload: _onnection
- offset: 279
  type: header_value
  payload: Keep-Alive
- offset: 291
  type: header_name
  payload: Transfer-Encoding
- offset: 310
  type: header_value
  payload: chunked
- offset: 319
  type: header_name
  payload: Content-Type
- offset: 333
  type: header_value
  payload: text/html
- offset: 344
  type: header_name
  payload: Connection
- offset: 356
  type: header_value
  payload: close
- offset: 365
  type: headers
  payload:
    method: null
    status: 200
    url: null
    protocol: HTTP
    version: '1.1'
    body: chunked
- offset: 365
  type: chunk_length
  payload: '0'
- offset: 368
  type: chunk
  payload: null
- offset: 368
  type: body
  payload: null
- offset: 370
  type: trailers
  payload: null
- offset: 370
  type: complete
  payload: null
- offset: 368
  type: finish
  payload: null
