accept

HTTP Accept-* headers parsing

This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
Last updated 8 years ago by hueniverse .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install accept 
SYNC missed versions from official npm registry.

Accept

HTTP Accept-* headers parsing.

npm version Build Status

Lead Maintainer - Eran Hammer

Introduction

Accept helps to answer the question of how best to respond to a HTTP request, based on the requesting browser's capabilities. Accept will parse the headers of a HTTP request and tell you what the preferred encoding is, what language should be used, and what charsets and media types are accepted.

Additional details about Accept headers and content negotiation can be found in IETF RFC 7231, Section 5.3.

API

For information on using Accept see the API documentation.

Current Tags

  • 3.1.3                                ...           latest (7 years ago)
  • 2.2.3                                ...           v2-legacy (2 years ago)

16 Versions

  • 2.2.3 [deprecated]           ...           2 years ago
  • 3.1.3 [deprecated]           ...           7 years ago
  • 3.1.2 [deprecated]           ...           7 years ago
  • 3.1.1 [deprecated]           ...           7 years ago
  • 3.0.2 [deprecated]           ...           8 years ago
  • 3.0.1 [deprecated]           ...           9 years ago
  • 3.0.0 [deprecated]           ...           9 years ago
  • 2.1.4 [deprecated]           ...           9 years ago
  • 2.1.3 [deprecated]           ...           10 years ago
  • 2.1.2 [deprecated]           ...           10 years ago
  • 2.1.1 [deprecated]           ...           10 years ago
  • 2.1.0 [deprecated]           ...           10 years ago
  • 2.0.0 [deprecated]           ...           10 years ago
  • 1.1.0 [deprecated]           ...           11 years ago
  • 1.0.0 [deprecated]           ...           12 years ago
  • 0.0.0 [deprecated]           ...           12 years ago
Downloads
Today 0
This Week 0
This Month 3
Last Day 0
Last Week 3
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |