forked from oakserver/acorn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
0 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"); |