@hapi/accept

HTTP Accept-* headers parsing

This version has been deprecated and is no longer supported or maintained
Last updated 7 years ago by hueniverse .
BSD-3-Clause · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @hapi/accept 
SYNC missed versions from official npm registry.

Accept

HTTP Accept-* headers parsing.

Build Status

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

  • 6.0.3                                ...           latest (3 years ago)
  • 3.2.4                                ...           lts (7 years ago)

14 Versions

  • 6.0.3                                ...           3 years ago
  • 6.0.2                                ...           3 years ago
  • 6.0.1                                ...           4 years ago
  • 6.0.0                                ...           5 years ago
  • 5.0.2                                ...           6 years ago
  • 3.2.4 [deprecated]           ...           7 years ago
  • 4.0.1 [deprecated]           ...           7 years ago
  • 5.0.1                                ...           7 years ago
  • 5.0.0 [deprecated]           ...           7 years ago
  • 4.0.0 [deprecated]           ...           7 years ago
  • 3.2.3 [deprecated]           ...           7 years ago
  • 3.2.2 [deprecated]           ...           8 years ago
  • 3.2.1 [deprecated]           ...           8 years ago
  • 3.2.0 [deprecated]           ...           8 years ago
Maintainers (1)
Downloads
Total 53
Today 0
This Week 0
This Month 39
Last Day 0
Last Week 32
Last Month 0
Dependencies (2)
Dev Dependencies (2)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE