Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/ayonli_jsext/http.ts>Accept

A JavaScript extension package for building strong and modern applications.
Latest
interface Accept
import { type Accept } from "https://deno.land/x/ayonli_jsext@v0.9.72/http.ts";

Represents the HTTP request Accept, Accept-Encoding and Accept-Language headers.

Properties

type: string

The MIME type of the Accept header, the encoding of the Accept-Encoding header, or the language of the Accept-Language header.

weight: number

q-factor value, which represents the relative quality factor of the media type, encoding or language.