repositorypackage
0.38.2
Repository: https://github.com/rickb777/acceptable.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
Acceptable
This is a library that handles Accept
headers, which form the basis of content negotiation in HTTP server applications written in Go. It provides an implementation of the proactive server-driven content negotiation algorithm specified in RFC-7231 section 5.3.
There is also support for conditional requests (RFC-7232) using entity tags and last-modified timestamps.
Bring your favourite router and framework - this library can be used with Gin, Echo, etc.
Please see the documentation for more info.
Status
This API is well-tested and known to work but not yet fully released because it may yet require breaking API changes.