CrabScout. The best software around.
Search

Negotiator

Read visitor preferences for formats and languages from HTTP request headers.

jshttp · Web and apps

GitHub projectOpen source Open on GitHub

How to try it

In a Node.js project, install [email protected]. Provide two sample languages and choose the one with the higher preference.

What we tested

1.1.0. Provide two sample languages and choose the one with the higher preference. Selected French from the fictional visitor's ordered language preferences.

Reviews

Rate this repo

More to explore

  • cattrsConvert Python records to and from simple dictionary data.GitHub projectOpen source
  • h2 for PythonBuild and parse HTTP/2 messages from Python.GitHub projectOpen source
  • Go QuerystringBuild URL query parameters from fields of a Go structure.GitHub projectOpen source

Share

What the labels mean

Save to your library