import { lookup } from "https://dotland.deno.dev/x/media_types@v3.0.3/mod.ts";
Given an extension, lookup the appropriate media type for that extension.
Likely you should be using contentType()
though instead.
import { lookup } from "https://dotland.deno.dev/x/media_types@v3.0.3/mod.ts";
Given an extension, lookup the appropriate media type for that extension.
Likely you should be using contentType()
though instead.