1.0.0-beta.1
HTTP header field database
Repository
Current version released
2 years ago
Dependencies
std
Versions
http-header-db
This is a large database of http header field and information about them.
Data from the following sources:
Packages
The package supports multiple platforms.
- deno.land/x -
https://deno.land/x/http_header_db@$VERSION
- npm -
http-header-db
Usage
import { default as db } from "https://deno.land/x/http_header_db/db.json" assert { type: "json" };
db["content-type"];
Data Structure
The JSON file is a map lookup for lowercased header field names. Each field has the following properties:
Name | Description |
---|---|
listable | Whether the field allows multiple members or not. This is synonymous with RFC9110, 5.5, list-based fields. |
License
Copyright © 2022-present httpland.
Released under the MIT license
This project is strongly inspired by the mime-db