-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from rspieker/master
Added HTTP/2
- Loading branch information
Showing
18 changed files
with
557 additions
and
328 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
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,19 +1,14 @@ | ||
// Unofficial status code proposals and pranks | ||
// Miscellanious Status Codes | ||
// https://tools.ietf.org/html/draft-tbray-http-legally-restricted-status-00 | ||
|
||
{ | ||
// 4xx - Client Error | ||
// 4xx - User Error | ||
|
||
// Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The | ||
// resulting entity body MAY be short and stout. | ||
// http://tools.ietf.org/html/rfc2324 | ||
"418": "I'm A Teapot", | ||
|
||
// This status code indicates that the server is subject to legal restrictions which prevent it servicing | ||
// the request. Since such restrictions typically apply to all operators in a legal jurisdiction, the | ||
// server in question may or may not be an origin server. The restrictions typically most directly affect | ||
// the operations of ISPs and search engines. | ||
// Responses using this status code SHOULD include an explanation, in the response body, of the details of | ||
// the legal restriction; which legal authority is imposing it, and what class of resources it applies to. | ||
// http://www.tbray.org/tmp/draft-tbray-http-legally-restricted-status.html | ||
// This status code indicates that the server is subject to legal restrictions which prevent it | ||
// servicing the request. Since such restrictions typically apply to all operators in a legal | ||
// jurisdiction, the server in question may or may not be an origin server. The restrictions typically | ||
// most directly affect the operations of ISPs and search engines. Responses using this status code | ||
// SHOULD include an explanation, in the response body, of the details of the legal restriction; which | ||
// legal authority is imposing it, and what class of resources it applies to. | ||
"451": "Unavailable For Legal Reasons" | ||
} |
Oops, something went wrong.