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

x/ayonli_jsext/workerd/http.ts>ContentType

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

Represents the HTTP request or response Content-Type header.

Properties

type: string

The MIME type of the resource.

optional
charset: string

The character encoding of the resource.

optional
boundary: string

The boundary string used in multipart/* types.