Skip to content

rickb777/acceptable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

18a8f94 · Feb 15, 2025

History

84 Commits
Feb 18, 2022
Nov 6, 2024
Feb 23, 2022
Feb 22, 2022
Dec 9, 2024
Nov 9, 2024
Nov 5, 2024
Jul 5, 2023
Dec 13, 2023
Jan 4, 2021
Feb 18, 2022
Jan 18, 2021
Jan 18, 2021
Oct 30, 2024
Jul 5, 2023
Feb 22, 2022
Feb 15, 2025
Feb 15, 2025
Feb 21, 2022
Feb 21, 2022
Mar 3, 2022
Feb 23, 2022

Repository files navigation

Acceptable

GoDoc Build Status Issues

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.

About

Go API for handling Accept headers

Resources

License

Stars

Watchers

Forks

Packages

No packages published