propertyiHttpRequest.Headers
property Headers: tHttpHeaders read GetHeaders;
The request fields, in arrival order, repeats preserved. Look them up with Value / IndexOf, which are CASE-INSENSITIVE - necessary, because HTTP/2 delivers every name lowercased by HPACK while HTTP/1.1 delivers them as the peer typed them, and a handler should not care which wire it is on. Value returns the FIRST field of that name; walk repeats with IndexOf(name, previous + 1) or collect them with ValuesOf. Connection-level and framing fields have already been validated and, on HTTP/2, removed. On HTTP/2 the :authority pseudo-header is copied in as 'host' when the peer sent no host field, so reading 'Host' works the same on both wires.