content

HTTP Content-* headers parsing.

Latest Version: 6.0.0
hapi-family
Installation:

npm: npm install @hapi/content

yarn: yarn add @hapi/content

Module Status:
Version License Node Dependencies CI
6.0.0
hapi helmet github logo
BSD 16, 18, 20 Dependency Status Build Status
5.0.2
hapi helmet github logo
BSD 16, 18, 20 Dependency Status Build Status

Usage

content allows to parse HTTP Content-* headers, currently based on the rules established in both RFC 7231 Section 3.1.1.1 and RFC 6266 Section 4.1.