This is a large database of http header field and information about them.
Data from the following sources:
import { default as db } from "https://deno.land/x/http_header_db/db.json" assert { type: "json" };
db["content-type"];
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. |
Copyright © 2022-present httpland.
Released under the MIT license
This project is strongly inspired by the mime-db