Expand http-parse-complete.py to support logging headers and entity/payload via flags
Open
- Dominant language
- C
- Stars
- 22.7k
- Forks
- 4.1k
- Avg merge
- 10d 4h
- Merged PRs (30d)
- 3
Description
It would be useful for http-parse-complete.py would be able to log the http entity-body and request/response headers if requested via flags.
As the entities can be binary or contain new lines I'm not sure what would the best format to drop the payload be.
Possibly either expose byte stream interface and leave deserialisation implementation for user-space (python in this case) or have alternatively a simple method to convert byte stream to string.
Ideally it would be possible to pipe the script output to a local log daemon or a local file to be picked up by a separate process.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.