Stream: wasi

Topic: HTTP Metadata


view this post on Zulip Lann Martin (Apr 19 2024 at 14:26):

I'd like to resurface this issue on wasi-http metadata as it has recently come up again in the context of Spin's routing patterns.

Without a mechanism to pass this kind of information in the request itself you are stuck with either a parallel context interface or - historically the most popular path in HTTP systems - stuffing it into custom HTTP headers and (hopefully) correctly sanitizing those everywhere.

Original context: #3 (comment) There are certain pieces of metadata that are commonly associated with requests but aren't part of HTTP itself, e.g.: Peer IP address TLS session details (certificate...

Last updated: Dec 23 2024 at 12:05 UTC