apple / apple/swift-http-types
Consider adding metadata property
Open
kind/enhancement
- Dominant language
- Swift
- Stars
- 1k
- Forks
- 80
- Avg merge
- 2d 4h
- Merged PRs (30d)
- 12
Description
There are many use cases where you may want to store some metadata on the request or even response (for example storing a request ID or a trace ID for distributed systems). Currently there's no way to do this, without adding an additional header which may not be desirable, or a pseudo header which feels like it's working around the problem rather than solving it.
Would a dictionary property or similar be something the team would consider?
Contributor guide
Assessment
This issue has not been assessed yet.