negotiator

A compact library for handling HTTP content negotiation for RESTful APIs.

GoDoc Build Status Coverage Status Release License

What is it?

negotiator enhances the interoperability of your HTTP API by equipping it with capabilities to facilitate proactive, reactive, and transparent content negotiation. This is accomplished by providing customizable and extendable functionality that adheres to RFC specifications, as well as industry adopted algorithms. With negotiator, your API no longer needs to take on the burden of implementing content negotiation, allowing you to focus on simply defining your representations and letting us do the rest.

Why use it?

There are many reasons why you should leave your HTTP content negotiation to us:

  • content negotiation algorithms are not trivial, with some algorithms detailed in lengthy RFC documentation while others lacking any standardization at all.
  • allows you to focus purely on defining your representations.
  • maximizes your APIs interoperability, lowering friction for client adoption.
  • unlocks all forms of content negotiation, allowing your API leverage different kinds of negotiation algorithms to support all of your flows.
  • customization allowing you to disable or enable particular features.
  • extensibility allowing you to define your own algorithms.

Posts

subscribe via RSS