x/net/http/httpguts: add parser/accessors for Link header #31609
Labels
FeatureRequest
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I am consuming an API that implements pagination via the link header, see RFC5988.
What did you expect to see?
I hoped that the std lib would have implemented a parser for this bespoke syntax. This could even be done lazily to prevent overhead.
What did you see instead?
I was forced to grab a 3rd party library (e.g.
github.com/deiu/linkheader
,github.com/tomnomnom/linkheader
), or implement the parser myself.The text was updated successfully, but these errors were encountered: