From ef8aff33d6fc0b1f6c59fbe05ddbc3627370db73 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Sat, 27 Jul 2024 20:15:28 +1000 Subject: [PATCH] refactor: remove unused constants --- constants.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/constants.ts b/constants.ts index 7a26e9c..7788242 100644 --- a/constants.ts +++ b/constants.ts @@ -1,9 +1,4 @@ // Copyright 2018-2024 the oak authors. All rights reserved. -import { contentType } from "@std/media-types/content-type"; - export const BODYLESS_METHODS = ["GET", "HEAD"]; -export const CONTENT_TYPE_HTML = contentType("html")!; -export const CONTENT_TYPE_JSON = contentType("json")!; -export const CONTENT_TYPE_TEXT = contentType("text/plain")!; export const NOT_ALLOWED = Symbol.for("acorn.NotAllowed");