Need some mechanism for providing headers for HTTP requests, ideally per-endpoint. Things like User Agent, Content Type, Host, Auth, etc.
One idea is using tcpdump format for that, and writing a separate tool for converting a body stream into a tcpdump stream with specified headers. Still hard to do per-endpoint though. Might need a more complex TOML config support.
Need some mechanism for providing headers for HTTP requests, ideally per-endpoint. Things like User Agent, Content Type, Host, Auth, etc.
One idea is using tcpdump format for that, and writing a separate tool for converting a body stream into a tcpdump stream with specified headers. Still hard to do per-endpoint though. Might need a more complex TOML config support.