mirror of
https://github.com/rmaake1/httpstatuses.git
synced 2024-09-04 16:49:45 +02:00
Add Rust HTTP constants
In case I need to do this again. I created a file of status code to constant names, then ran this script against it: IFS=$'\n'; for i in $(cat rust-consts.txt); do code="$(echo $i | awk '{print $1}')" const="http::StatusCode::$(echo $i | awk '{print $2}')" fastmod "(references:)(\n)" "\${1}\${2} \"Rust HTTP Status Constant\": \"${const}\"\${2}" "contents/codes/${code}.md" done The hightlight is the grossness for the fastmod invocation, since I couldn't figure out how to get fastmod to add newlines in the replacement text, so I captured and reused the one from the searched patterns.
This commit is contained in:
parent
5c0cdbcbf2
commit
3ee553d788
@ -3,6 +3,7 @@ set: 1
|
|||||||
code: 100
|
code: 100
|
||||||
title: Continue
|
title: Continue
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::CONTINUE"
|
||||||
"Rails HTTP Status Symbol": ":continue"
|
"Rails HTTP Status Symbol": ":continue"
|
||||||
"Go HTTP Status Constant": "http.StatusContinue"
|
"Go HTTP Status Constant": "http.StatusContinue"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_CONTINUE"
|
"Symfony HTTP Status Constant": "Response::HTTP_CONTINUE"
|
||||||
|
@ -3,6 +3,7 @@ set: 1
|
|||||||
code: 101
|
code: 101
|
||||||
title: Switching Protocols
|
title: Switching Protocols
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::SWITCHING_PROTOCOLS"
|
||||||
"Rails HTTP Status Symbol": ":switching_protocols"
|
"Rails HTTP Status Symbol": ":switching_protocols"
|
||||||
"Go HTTP Status Constant": "http.StatusSwitchingProtocols"
|
"Go HTTP Status Constant": "http.StatusSwitchingProtocols"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_SWITCHING_PROTOCOLS"
|
"Symfony HTTP Status Constant": "Response::HTTP_SWITCHING_PROTOCOLS"
|
||||||
|
@ -3,6 +3,7 @@ set: 1
|
|||||||
code: 102
|
code: 102
|
||||||
title: Processing
|
title: Processing
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::PROCESSING"
|
||||||
"Rails HTTP Status Symbol": ":processing"
|
"Rails HTTP Status Symbol": ":processing"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_PROCESSING"
|
"Symfony HTTP Status Constant": "Response::HTTP_PROCESSING"
|
||||||
---
|
---
|
||||||
|
@ -3,6 +3,7 @@ set: 2
|
|||||||
code: 200
|
code: 200
|
||||||
title: OK
|
title: OK
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::OK"
|
||||||
"Rails HTTP Status Symbol": ":ok"
|
"Rails HTTP Status Symbol": ":ok"
|
||||||
"Go HTTP Status Constant": "http.StatusOK"
|
"Go HTTP Status Constant": "http.StatusOK"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_OK"
|
"Symfony HTTP Status Constant": "Response::HTTP_OK"
|
||||||
|
@ -3,6 +3,7 @@ set: 2
|
|||||||
code: 201
|
code: 201
|
||||||
title: Created
|
title: Created
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::CREATED"
|
||||||
"Rails HTTP Status Symbol": ":created"
|
"Rails HTTP Status Symbol": ":created"
|
||||||
"Go HTTP Status Constant": "http.StatusCreated"
|
"Go HTTP Status Constant": "http.StatusCreated"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_CREATED"
|
"Symfony HTTP Status Constant": "Response::HTTP_CREATED"
|
||||||
|
@ -3,6 +3,7 @@ set: 2
|
|||||||
code: 202
|
code: 202
|
||||||
title: Accepted
|
title: Accepted
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::ACCEPTED"
|
||||||
"Rails HTTP Status Symbol": ":accepted"
|
"Rails HTTP Status Symbol": ":accepted"
|
||||||
"Go HTTP Status Constant": "http.StatusAccepted"
|
"Go HTTP Status Constant": "http.StatusAccepted"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_ACCEPTED"
|
"Symfony HTTP Status Constant": "Response::HTTP_ACCEPTED"
|
||||||
|
@ -3,6 +3,7 @@ set: 2
|
|||||||
code: 203
|
code: 203
|
||||||
title: Non-authoritative Information
|
title: Non-authoritative Information
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::NON_AUTHORITATIVE_INFORMATION"
|
||||||
"Rails HTTP Status Symbol": ":non_authoritative_information"
|
"Rails HTTP Status Symbol": ":non_authoritative_information"
|
||||||
"Go HTTP Status Constant": "http.StatusNonAuthoritativeInfo"
|
"Go HTTP Status Constant": "http.StatusNonAuthoritativeInfo"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_NON_AUTHORITATIVE_INFORMATION"
|
"Symfony HTTP Status Constant": "Response::HTTP_NON_AUTHORITATIVE_INFORMATION"
|
||||||
|
@ -3,6 +3,7 @@ set: 2
|
|||||||
code: 204
|
code: 204
|
||||||
title: No Content
|
title: No Content
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::NO_CONTENT"
|
||||||
"Rails HTTP Status Symbol": ":no_content"
|
"Rails HTTP Status Symbol": ":no_content"
|
||||||
"Go HTTP Status Constant": "http.StatusNoContent"
|
"Go HTTP Status Constant": "http.StatusNoContent"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_NO_CONTENT"
|
"Symfony HTTP Status Constant": "Response::HTTP_NO_CONTENT"
|
||||||
|
@ -3,6 +3,7 @@ set: 2
|
|||||||
code: 205
|
code: 205
|
||||||
title: Reset Content
|
title: Reset Content
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::RESET_CONTENT"
|
||||||
"Rails HTTP Status Symbol": ":reset_content"
|
"Rails HTTP Status Symbol": ":reset_content"
|
||||||
"Go HTTP Status Constant": "http.StatusResetContent"
|
"Go HTTP Status Constant": "http.StatusResetContent"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_RESET_CONTENT"
|
"Symfony HTTP Status Constant": "Response::HTTP_RESET_CONTENT"
|
||||||
|
@ -3,6 +3,7 @@ set: 2
|
|||||||
code: 206
|
code: 206
|
||||||
title: Partial Content
|
title: Partial Content
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::PARTIAL_CONTENT"
|
||||||
"Rails HTTP Status Symbol": ":partial_content"
|
"Rails HTTP Status Symbol": ":partial_content"
|
||||||
"Go HTTP Status Constant": "http.StatusPartialContent"
|
"Go HTTP Status Constant": "http.StatusPartialContent"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_PARTIAL_CONTENT"
|
"Symfony HTTP Status Constant": "Response::HTTP_PARTIAL_CONTENT"
|
||||||
|
@ -3,6 +3,7 @@ set: 2
|
|||||||
code: 207
|
code: 207
|
||||||
title: Multi-Status
|
title: Multi-Status
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::MULTI_STATUS"
|
||||||
"Rails HTTP Status Symbol": ":multi_status"
|
"Rails HTTP Status Symbol": ":multi_status"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_MULTI_STATUS"
|
"Symfony HTTP Status Constant": "Response::HTTP_MULTI_STATUS"
|
||||||
---
|
---
|
||||||
|
@ -3,6 +3,7 @@ set: 2
|
|||||||
code: 208
|
code: 208
|
||||||
title: Already Reported
|
title: Already Reported
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::ALREADY_REPORTED"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_ALREADY_REPORTED"
|
"Symfony HTTP Status Constant": "Response::HTTP_ALREADY_REPORTED"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ set: 2
|
|||||||
code: 226
|
code: 226
|
||||||
title: IM Used
|
title: IM Used
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::IM_USED"
|
||||||
"Rails HTTP Status Symbol": ":im_used"
|
"Rails HTTP Status Symbol": ":im_used"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_IM_USED"
|
"Symfony HTTP Status Constant": "Response::HTTP_IM_USED"
|
||||||
---
|
---
|
||||||
|
@ -3,6 +3,7 @@ set: 3
|
|||||||
code: 300
|
code: 300
|
||||||
title: Multiple Choices
|
title: Multiple Choices
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::MULTIPLE_CHOICES"
|
||||||
"Rails HTTP Status Symbol": ":multiple_choices"
|
"Rails HTTP Status Symbol": ":multiple_choices"
|
||||||
"Go HTTP Status Constant": "http.StatusMultipleChoices"
|
"Go HTTP Status Constant": "http.StatusMultipleChoices"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_MULTIPLE_CHOICES"
|
"Symfony HTTP Status Constant": "Response::HTTP_MULTIPLE_CHOICES"
|
||||||
|
@ -3,6 +3,7 @@ set: 3
|
|||||||
code: 301
|
code: 301
|
||||||
title: Moved Permanently
|
title: Moved Permanently
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::MOVED_PERMANENTLY"
|
||||||
"Rails HTTP Status Symbol": ":moved_permanently"
|
"Rails HTTP Status Symbol": ":moved_permanently"
|
||||||
"Go HTTP Status Constant": "http.StatusMovedPermanently"
|
"Go HTTP Status Constant": "http.StatusMovedPermanently"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_MOVED_PERMANENTLY"
|
"Symfony HTTP Status Constant": "Response::HTTP_MOVED_PERMANENTLY"
|
||||||
|
@ -3,6 +3,7 @@ set: 3
|
|||||||
code: 302
|
code: 302
|
||||||
title: Found
|
title: Found
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::FOUND"
|
||||||
"Rails HTTP Status Symbol": ":found"
|
"Rails HTTP Status Symbol": ":found"
|
||||||
"Go HTTP Status Constant": "http.StatusFound"
|
"Go HTTP Status Constant": "http.StatusFound"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_FOUND"
|
"Symfony HTTP Status Constant": "Response::HTTP_FOUND"
|
||||||
|
@ -3,6 +3,7 @@ set: 3
|
|||||||
code: 303
|
code: 303
|
||||||
title: See Other
|
title: See Other
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::SEE_OTHER"
|
||||||
"Rails HTTP Status Symbol": ":see_other"
|
"Rails HTTP Status Symbol": ":see_other"
|
||||||
"Go HTTP Status Constant": "http.StatusSeeOther"
|
"Go HTTP Status Constant": "http.StatusSeeOther"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_SEE_OTHER"
|
"Symfony HTTP Status Constant": "Response::HTTP_SEE_OTHER"
|
||||||
|
@ -3,6 +3,7 @@ set: 3
|
|||||||
code: 304
|
code: 304
|
||||||
title: Not Modified
|
title: Not Modified
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::NOT_MODIFIED"
|
||||||
"Rails HTTP Status Symbol": ":not_modified"
|
"Rails HTTP Status Symbol": ":not_modified"
|
||||||
"Go HTTP Status Constant": "http.StatusNotModified"
|
"Go HTTP Status Constant": "http.StatusNotModified"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_NOT_MODIFIED"
|
"Symfony HTTP Status Constant": "Response::HTTP_NOT_MODIFIED"
|
||||||
|
@ -3,6 +3,7 @@ set: 3
|
|||||||
code: 305
|
code: 305
|
||||||
title: Use Proxy
|
title: Use Proxy
|
||||||
#references:
|
#references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::USE_PROXY"
|
||||||
# "Rails HTTP Status Symbol": "use_proxy"
|
# "Rails HTTP Status Symbol": "use_proxy"
|
||||||
# "Go HTTP Status Constant": "http.StatusUseProxy"
|
# "Go HTTP Status Constant": "http.StatusUseProxy"
|
||||||
# "Symfony HTTP Status Constant": "Response::HTTP_USE_PROXY"
|
# "Symfony HTTP Status Constant": "Response::HTTP_USE_PROXY"
|
||||||
|
@ -3,6 +3,7 @@ set: 3
|
|||||||
code: 307
|
code: 307
|
||||||
title: Temporary Redirect
|
title: Temporary Redirect
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::TEMPORARY_REDIRECT"
|
||||||
"Rails HTTP Status Symbol": ":temporary_redirect"
|
"Rails HTTP Status Symbol": ":temporary_redirect"
|
||||||
"Go HTTP Status Constant": "http.StatusTemporaryRedirect"
|
"Go HTTP Status Constant": "http.StatusTemporaryRedirect"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_TEMPORARY_REDIRECT"
|
"Symfony HTTP Status Constant": "Response::HTTP_TEMPORARY_REDIRECT"
|
||||||
|
@ -3,6 +3,7 @@ set: 3
|
|||||||
code: 308
|
code: 308
|
||||||
title: Permanent Redirect
|
title: Permanent Redirect
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::PERMANENT_REDIRECT"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_PERMANENTLY_REDIRECT"
|
"Symfony HTTP Status Constant": "Response::HTTP_PERMANENTLY_REDIRECT"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 400
|
code: 400
|
||||||
title: Bad Request
|
title: Bad Request
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::BAD_REQUEST"
|
||||||
"Rails HTTP Status Symbol": "bad_request"
|
"Rails HTTP Status Symbol": "bad_request"
|
||||||
"Go HTTP Status Constant": "http.StatusBadRequest"
|
"Go HTTP Status Constant": "http.StatusBadRequest"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_BAD_REQUEST"
|
"Symfony HTTP Status Constant": "Response::HTTP_BAD_REQUEST"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 401
|
code: 401
|
||||||
title: Unauthorized
|
title: Unauthorized
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::UNAUTHORIZED"
|
||||||
"Rails HTTP Status Symbol": ":unauthorized"
|
"Rails HTTP Status Symbol": ":unauthorized"
|
||||||
"Go HTTP Status Constant": "http.StatusUnauthorized"
|
"Go HTTP Status Constant": "http.StatusUnauthorized"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_UNAUTHORIZED"
|
"Symfony HTTP Status Constant": "Response::HTTP_UNAUTHORIZED"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 402
|
code: 402
|
||||||
title: Payment Required
|
title: Payment Required
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::PAYMENT_REQUIRED"
|
||||||
"Rails HTTP Status Symbol": ":payment_required"
|
"Rails HTTP Status Symbol": ":payment_required"
|
||||||
"Go HTTP Status Constant": "http.StatusPaymentRequired"
|
"Go HTTP Status Constant": "http.StatusPaymentRequired"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_PAYMENT_REQUIRED"
|
"Symfony HTTP Status Constant": "Response::HTTP_PAYMENT_REQUIRED"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 403
|
code: 403
|
||||||
title: Forbidden
|
title: Forbidden
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::FORBIDDEN"
|
||||||
"Rails HTTP Status Symbol": ":forbidden"
|
"Rails HTTP Status Symbol": ":forbidden"
|
||||||
"Go HTTP Status Constant": "http.StatusForbidden"
|
"Go HTTP Status Constant": "http.StatusForbidden"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_FORBIDDEN"
|
"Symfony HTTP Status Constant": "Response::HTTP_FORBIDDEN"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 404
|
code: 404
|
||||||
title: Not Found
|
title: Not Found
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::NOT_FOUND"
|
||||||
"Rails HTTP Status Symbol": ":not_found"
|
"Rails HTTP Status Symbol": ":not_found"
|
||||||
"Go HTTP Status Constant": "http.StatusNotFound"
|
"Go HTTP Status Constant": "http.StatusNotFound"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_NOT_FOUND"
|
"Symfony HTTP Status Constant": "Response::HTTP_NOT_FOUND"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 405
|
code: 405
|
||||||
title: Method Not Allowed
|
title: Method Not Allowed
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::METHOD_NOT_ALLOWED"
|
||||||
"Rails HTTP Status Symbol": ":method_not_allowed"
|
"Rails HTTP Status Symbol": ":method_not_allowed"
|
||||||
"Go HTTP Status Constant": "http.StatusMethodNotAllowed"
|
"Go HTTP Status Constant": "http.StatusMethodNotAllowed"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_METHOD_NOT_ALLOWED"
|
"Symfony HTTP Status Constant": "Response::HTTP_METHOD_NOT_ALLOWED"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 406
|
code: 406
|
||||||
title: Not Acceptable
|
title: Not Acceptable
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::NOT_ACCEPTABLE"
|
||||||
"Rails HTTP Status Symbol": ":not_acceptable"
|
"Rails HTTP Status Symbol": ":not_acceptable"
|
||||||
"Go HTTP Status Constant": "http.StatusNotAcceptable"
|
"Go HTTP Status Constant": "http.StatusNotAcceptable"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_NOT_ACCEPTABLE"
|
"Symfony HTTP Status Constant": "Response::HTTP_NOT_ACCEPTABLE"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 407
|
code: 407
|
||||||
title: Proxy Authentication Required
|
title: Proxy Authentication Required
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::PROXY_AUTHENTICATION_REQUIRED"
|
||||||
"Rails HTTP Status Symbol": ":proxy_authentication_required"
|
"Rails HTTP Status Symbol": ":proxy_authentication_required"
|
||||||
"Go HTTP Status Constant": "http.StatusProxyAuthRequired"
|
"Go HTTP Status Constant": "http.StatusProxyAuthRequired"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_PROXY_AUTHENTICATION_REQUIRED"
|
"Symfony HTTP Status Constant": "Response::HTTP_PROXY_AUTHENTICATION_REQUIRED"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 408
|
code: 408
|
||||||
title: Request Timeout
|
title: Request Timeout
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::REQUEST_TIMEOUT"
|
||||||
"Rails HTTP Status Symbol": ":request_timeout"
|
"Rails HTTP Status Symbol": ":request_timeout"
|
||||||
"Go HTTP Status Constant": "http.StatusRequestTimeout"
|
"Go HTTP Status Constant": "http.StatusRequestTimeout"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_REQUEST_TIMEOUT"
|
"Symfony HTTP Status Constant": "Response::HTTP_REQUEST_TIMEOUT"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 409
|
code: 409
|
||||||
title: Conflict
|
title: Conflict
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::CONFLICT"
|
||||||
"Rails HTTP Status Symbol": ":conflict"
|
"Rails HTTP Status Symbol": ":conflict"
|
||||||
"Go HTTP Status Constant": "http.StatusConflict"
|
"Go HTTP Status Constant": "http.StatusConflict"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_CONFLICT"
|
"Symfony HTTP Status Constant": "Response::HTTP_CONFLICT"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 410
|
code: 410
|
||||||
title: Gone
|
title: Gone
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::GONE"
|
||||||
"Rails HTTP Status Symbol": ":gone"
|
"Rails HTTP Status Symbol": ":gone"
|
||||||
"Go HTTP Status Constant": "http.StatusGone"
|
"Go HTTP Status Constant": "http.StatusGone"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_GONE"
|
"Symfony HTTP Status Constant": "Response::HTTP_GONE"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 411
|
code: 411
|
||||||
title: Length Required
|
title: Length Required
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::LENGTH_REQUIRED"
|
||||||
"Rails HTTP Status Symbol": ":length_required"
|
"Rails HTTP Status Symbol": ":length_required"
|
||||||
"Go HTTP Status Constant": "http.StatusLengthRequired"
|
"Go HTTP Status Constant": "http.StatusLengthRequired"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_LENGTH_REQUIRED"
|
"Symfony HTTP Status Constant": "Response::HTTP_LENGTH_REQUIRED"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 412
|
code: 412
|
||||||
title: Precondition Failed
|
title: Precondition Failed
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::PRECONDITION_FAILED"
|
||||||
"Rails HTTP Status Symbol": ":precondition_failed"
|
"Rails HTTP Status Symbol": ":precondition_failed"
|
||||||
"Go HTTP Status Constant": "http.StatusPreconditionFailed"
|
"Go HTTP Status Constant": "http.StatusPreconditionFailed"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_PRECONDITION_FAILED"
|
"Symfony HTTP Status Constant": "Response::HTTP_PRECONDITION_FAILED"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 413
|
code: 413
|
||||||
title: Payload Too Large
|
title: Payload Too Large
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::PAYLOAD_TOO_LARGE"
|
||||||
"Rails HTTP Status Symbol": ":request_entity_too_large"
|
"Rails HTTP Status Symbol": ":request_entity_too_large"
|
||||||
"Go HTTP Status Constant": "http.StatusRequestEntityTooLarge"
|
"Go HTTP Status Constant": "http.StatusRequestEntityTooLarge"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_REQUEST_ENTITY_TOO_LARGE"
|
"Symfony HTTP Status Constant": "Response::HTTP_REQUEST_ENTITY_TOO_LARGE"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 414
|
code: 414
|
||||||
title: Request-URI Too Long
|
title: Request-URI Too Long
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::URI_TOO_LONG"
|
||||||
"Rails HTTP Status Symbol": ":request_uri_too_long"
|
"Rails HTTP Status Symbol": ":request_uri_too_long"
|
||||||
"Go HTTP Status Constant": "http.StatusRequestURITooLong"
|
"Go HTTP Status Constant": "http.StatusRequestURITooLong"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_REQUEST_URI_TOO_LONG"
|
"Symfony HTTP Status Constant": "Response::HTTP_REQUEST_URI_TOO_LONG"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 415
|
code: 415
|
||||||
title: Unsupported Media Type
|
title: Unsupported Media Type
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::UNSUPPORTED_MEDIA_TYPE"
|
||||||
"Rails HTTP Status Symbol": ":unsupported_media_type"
|
"Rails HTTP Status Symbol": ":unsupported_media_type"
|
||||||
"Go HTTP Status Constant": "http.StatusUnsupportedMediaType"
|
"Go HTTP Status Constant": "http.StatusUnsupportedMediaType"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_UNSUPPORTED_MEDIA_TYPE"
|
"Symfony HTTP Status Constant": "Response::HTTP_UNSUPPORTED_MEDIA_TYPE"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 416
|
code: 416
|
||||||
title: Requested Range Not Satisfiable
|
title: Requested Range Not Satisfiable
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::RANGE_NOT_SATISFIABLE"
|
||||||
"Rails HTTP Status Symbol": ":requested_range_not_satisfiable"
|
"Rails HTTP Status Symbol": ":requested_range_not_satisfiable"
|
||||||
"Go HTTP Status Constant": "http.StatusRequestedRangeNotSatisfiable"
|
"Go HTTP Status Constant": "http.StatusRequestedRangeNotSatisfiable"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_REQUESTED_RANGE_NOT_SATISFIABLE"
|
"Symfony HTTP Status Constant": "Response::HTTP_REQUESTED_RANGE_NOT_SATISFIABLE"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 417
|
code: 417
|
||||||
title: Expectation Failed
|
title: Expectation Failed
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::EXPECTATION_FAILED"
|
||||||
"Rails HTTP Status Symbol": ":expectation_failed"
|
"Rails HTTP Status Symbol": ":expectation_failed"
|
||||||
"Go HTTP Status Constant": "http.StatusExpectationFailed"
|
"Go HTTP Status Constant": "http.StatusExpectationFailed"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_EXPECTATION_FAILED"
|
"Symfony HTTP Status Constant": "Response::HTTP_EXPECTATION_FAILED"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 418
|
code: 418
|
||||||
title: I'm a teapot
|
title: I'm a teapot
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::IM_A_TEAPOT"
|
||||||
"Go HTTP Status Constant": "http.StatusTeapot"
|
"Go HTTP Status Constant": "http.StatusTeapot"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_I_AM_A_TEAPOT"
|
"Symfony HTTP Status Constant": "Response::HTTP_I_AM_A_TEAPOT"
|
||||||
---
|
---
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 421
|
code: 421
|
||||||
title: Misdirected Request
|
title: Misdirected Request
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::MISDIRECTED_REQUEST"
|
||||||
"Rails HTTP Status Symbol": ":misdirected_request"
|
"Rails HTTP Status Symbol": ":misdirected_request"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 422
|
code: 422
|
||||||
title: Unprocessable Entity
|
title: Unprocessable Entity
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::UNPROCESSABLE_ENTITY"
|
||||||
"Rails HTTP Status Symbol": ":unprocessable_entity"
|
"Rails HTTP Status Symbol": ":unprocessable_entity"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_UNPROCESSABLE_ENTITY"
|
"Symfony HTTP Status Constant": "Response::HTTP_UNPROCESSABLE_ENTITY"
|
||||||
---
|
---
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 423
|
code: 423
|
||||||
title: Locked
|
title: Locked
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::LOCKED"
|
||||||
"Rails HTTP Status Symbol": ":locked"
|
"Rails HTTP Status Symbol": ":locked"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_LOCKED"
|
"Symfony HTTP Status Constant": "Response::HTTP_LOCKED"
|
||||||
---
|
---
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 424
|
code: 424
|
||||||
title: Failed Dependency
|
title: Failed Dependency
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::FAILED_DEPENDENCY"
|
||||||
"Rails HTTP Status Symbol": "failed_dependency"
|
"Rails HTTP Status Symbol": "failed_dependency"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_FAILED_DEPENDENCY"
|
"Symfony HTTP Status Constant": "Response::HTTP_FAILED_DEPENDENCY"
|
||||||
"Python HTTP Status Constant": "httplib.FAILED_DEPENDENCY"
|
"Python HTTP Status Constant": "httplib.FAILED_DEPENDENCY"
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 426
|
code: 426
|
||||||
title: Upgrade Required
|
title: Upgrade Required
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::UPGRADE_REQUIRED"
|
||||||
"Rails HTTP Status Symbol": ":upgrade_required"
|
"Rails HTTP Status Symbol": ":upgrade_required"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_UPGRADE_REQUIRED"
|
"Symfony HTTP Status Constant": "Response::HTTP_UPGRADE_REQUIRED"
|
||||||
---
|
---
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 428
|
code: 428
|
||||||
title: Precondition Required
|
title: Precondition Required
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::PRECONDITION_REQUIRED"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_PRECONDITION_REQUIRED"
|
"Symfony HTTP Status Constant": "Response::HTTP_PRECONDITION_REQUIRED"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 429
|
code: 429
|
||||||
title: Too Many Requests
|
title: Too Many Requests
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::TOO_MANY_REQUESTS"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_TOO_MANY_REQUESTS"
|
"Symfony HTTP Status Constant": "Response::HTTP_TOO_MANY_REQUESTS"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ set: 4
|
|||||||
code: 431
|
code: 431
|
||||||
title: Request Header Fields Too Large
|
title: Request Header Fields Too Large
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::REQUEST_HEADER_FIELDS_TOO_LARGE"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE"
|
"Symfony HTTP Status Constant": "Response::HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -4,6 +4,7 @@ code: 451
|
|||||||
title: Unavailable For Legal Reasons
|
title: Unavailable For Legal Reasons
|
||||||
proposal: true
|
proposal: true
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::UNAVAILABLE_FOR_LEGAL_REASONS"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_UNAVAILABLE_FOR_LEGAL_REASONS"
|
"Symfony HTTP Status Constant": "Response::HTTP_UNAVAILABLE_FOR_LEGAL_REASONS"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ set: 5
|
|||||||
code: 500
|
code: 500
|
||||||
title: Internal Server Error
|
title: Internal Server Error
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::INTERNAL_SERVER_ERROR"
|
||||||
"Rails HTTP Status Symbol": ":internal_server_error"
|
"Rails HTTP Status Symbol": ":internal_server_error"
|
||||||
"Go HTTP Status Constant": "http.StatusInternalServerError"
|
"Go HTTP Status Constant": "http.StatusInternalServerError"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_INTERNAL_SERVER_ERROR"
|
"Symfony HTTP Status Constant": "Response::HTTP_INTERNAL_SERVER_ERROR"
|
||||||
|
@ -3,6 +3,7 @@ set: 5
|
|||||||
code: 501
|
code: 501
|
||||||
title: Not Implemented
|
title: Not Implemented
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::NOT_IMPLEMENTED"
|
||||||
"Rails HTTP Status Symbol": ":not_implemented"
|
"Rails HTTP Status Symbol": ":not_implemented"
|
||||||
"Go HTTP Status Constant": "http.StatusNotImplemented"
|
"Go HTTP Status Constant": "http.StatusNotImplemented"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_NOT_IMPLEMENTED"
|
"Symfony HTTP Status Constant": "Response::HTTP_NOT_IMPLEMENTED"
|
||||||
|
@ -3,6 +3,7 @@ set: 5
|
|||||||
code: 502
|
code: 502
|
||||||
title: Bad Gateway
|
title: Bad Gateway
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::BAD_GATEWAY"
|
||||||
"Rails HTTP Status Symbol": ":bad_gateway"
|
"Rails HTTP Status Symbol": ":bad_gateway"
|
||||||
"Go HTTP Status Constant": "http.StatusBadGateway"
|
"Go HTTP Status Constant": "http.StatusBadGateway"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_BAD_GATEWAY"
|
"Symfony HTTP Status Constant": "Response::HTTP_BAD_GATEWAY"
|
||||||
|
@ -3,6 +3,7 @@ set: 5
|
|||||||
code: 503
|
code: 503
|
||||||
title: Service Unavailable
|
title: Service Unavailable
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::SERVICE_UNAVAILABLE"
|
||||||
"Rails HTTP Status Symbol": ":service_unavailable"
|
"Rails HTTP Status Symbol": ":service_unavailable"
|
||||||
"Go HTTP Status Constant": "http.StatusServiceUnavailable"
|
"Go HTTP Status Constant": "http.StatusServiceUnavailable"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_SERVICE_UNAVAILABLE"
|
"Symfony HTTP Status Constant": "Response::HTTP_SERVICE_UNAVAILABLE"
|
||||||
|
@ -3,6 +3,7 @@ set: 5
|
|||||||
code: 504
|
code: 504
|
||||||
title: Gateway Timeout
|
title: Gateway Timeout
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::GATEWAY_TIMEOUT"
|
||||||
"Rails HTTP Status Symbol": ":gateway_timeout"
|
"Rails HTTP Status Symbol": ":gateway_timeout"
|
||||||
"Go HTTP Status Constant": "http.StatusGatewayTimeout"
|
"Go HTTP Status Constant": "http.StatusGatewayTimeout"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_GATEWAY_TIMEOUT"
|
"Symfony HTTP Status Constant": "Response::HTTP_GATEWAY_TIMEOUT"
|
||||||
|
@ -3,6 +3,7 @@ set: 5
|
|||||||
code: 505
|
code: 505
|
||||||
title: HTTP Version Not Supported
|
title: HTTP Version Not Supported
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::HTTP_VERSION_NOT_SUPPORTED"
|
||||||
"Rails HTTP Status Symbol": ":http_version_not_supported"
|
"Rails HTTP Status Symbol": ":http_version_not_supported"
|
||||||
"Go HTTP Status Constant": "http.StatusHTTPVersionNotSupported"
|
"Go HTTP Status Constant": "http.StatusHTTPVersionNotSupported"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_VERSION_NOT_SUPPORTED"
|
"Symfony HTTP Status Constant": "Response::HTTP_VERSION_NOT_SUPPORTED"
|
||||||
|
@ -3,6 +3,7 @@ set: 5
|
|||||||
code: 506
|
code: 506
|
||||||
title: Variant Also Negotiates
|
title: Variant Also Negotiates
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::VARIANT_ALSO_NEGOTIATES"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL"
|
"Symfony HTTP Status Constant": "Response::HTTP_VARIANT_ALSO_NEGOTIATES_EXPERIMENTAL"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ set: 5
|
|||||||
code: 507
|
code: 507
|
||||||
title: Insufficient Storage
|
title: Insufficient Storage
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::INSUFFICIENT_STORAGE"
|
||||||
"Rails HTTP Status Symbol": ":insufficient_storage"
|
"Rails HTTP Status Symbol": ":insufficient_storage"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_INSUFFICIENT_STORAGE"
|
"Symfony HTTP Status Constant": "Response::HTTP_INSUFFICIENT_STORAGE"
|
||||||
---
|
---
|
||||||
|
@ -3,6 +3,7 @@ set: 5
|
|||||||
code: 508
|
code: 508
|
||||||
title: Loop Detected
|
title: Loop Detected
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::LOOP_DETECTED"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_LOOP_DETECTED"
|
"Symfony HTTP Status Constant": "Response::HTTP_LOOP_DETECTED"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@ set: 5
|
|||||||
code: 510
|
code: 510
|
||||||
title: Not Extended
|
title: Not Extended
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::NOT_EXTENDED"
|
||||||
"Rails HTTP Status Symbol": ":not_extended"
|
"Rails HTTP Status Symbol": ":not_extended"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_NOT_EXTENDED"
|
"Symfony HTTP Status Constant": "Response::HTTP_NOT_EXTENDED"
|
||||||
---
|
---
|
||||||
|
@ -3,6 +3,7 @@ set: 5
|
|||||||
code: 511
|
code: 511
|
||||||
title: Network Authentication Required
|
title: Network Authentication Required
|
||||||
references:
|
references:
|
||||||
|
"Rust HTTP Status Constant": "http::StatusCode::NETWORK_AUTHENTICATION_REQUIRED"
|
||||||
"Symfony HTTP Status Constant": "Response::HTTP_NETWORK_AUTHENTICATION_REQUIRED"
|
"Symfony HTTP Status Constant": "Response::HTTP_NETWORK_AUTHENTICATION_REQUIRED"
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user