Skip to content

Commit

Permalink
refactor: remove unused constants
Browse files Browse the repository at this point in the history
  • Loading branch information
kitsonk committed Jul 27, 2024
1 parent 49245cc commit ef8aff3
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions constants.ts
Original file line number Diff line number Diff line change
@@ -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");

0 comments on commit ef8aff3

Please sign in to comment.