Package Usage: go: github.com/muhlemmer/httpforwarded
Package httpforwarded is a helper package for parsing the Forwarded HTTP
header as defined in RFC-7239 [1]. There is a function for parsing the value
of multiple Forwarded headers, and a function for formatting a Forwarded
header.
Because an HTTP request can have multiple Forwarded headers with unique
fields, we need to support parsing and joining of all of them in the order
they are provided.
Here is an example of parsing the Forwarded header:
[1] https://tools.ietf.org/html/rfc7239
3 versions
Latest release: almost 2 years ago
12 dependent packages
View more package details: https://packages.ecosystem.code.gouv.fr/registries/proxy.golang.org/packages/github.com/muhlemmer/httpforwarded