This repository was archived by the owner on Nov 6, 2022. It is now read-only.
This repository was archived by the owner on Nov 6, 2022. It is now read-only.
How to determine the boundaries of HTTP header? #493
Closed
Description
Hi
I am writing an http proxy and parsing HTTP messages using http-parser
In most cases, proxy will add some additional headers such as X-Forwarded-Host
, Proxy-Authorization
and so on
So i'd like to split HTTP message to 3 parts which is:
- original header
- additional headers
- body
But http-parser
doesn't provide some API to help me determine the boundaries of HTTP header
Is there any way to do it?
Metadata
Metadata
Assignees
Labels
No labels