httpstatuses/contents/codes/501.md
WALL-E 62df9e637c Add Python status constants (#57)
* Add Python status constants

* Add Python 2, Python 3+, Python 3.5+ status constants
2016-05-22 00:07:16 +01:00

28 lines
1.0 KiB
Markdown

---
set: 5
code: 501
title: Not Implemented
references:
"Rails HTTP Status Symbol": ":not_implemented"
"Go HTTP Status Constant": "http.StatusNotImplemented"
"Symfony HTTP Status Constant": "Response::HTTP_NOT_IMPLEMENTED"
"Python2 HTTP Status Constant": "httplib.NOT_IMPLEMENTED"
"Python3+ HTTP Status Constant": "http.client.NOT_IMPLEMENTED"
"Python3.5+ HTTP Status Constant": "http.HTTPStatus.NOT_IMPLEMENTED"
---
The server does not support the functionality required to fulfill the request.
This is the appropriate response when the server does not recognize the request method and is not capable of supporting it for any resource.
A 501 response is cacheable by default; i.e., unless otherwise indicated by the method definition or explicit cache controls<sup>[1](#ref-1)</sup>.
---
* <span id="ref-1"><sup>1</sup> Calculating Heuristic Freshness
[RFC7234 Section 4.2.2][2]</span>
* Source: [RFC7231 Section 6.6.2][1]
[1]: <http://tools.ietf.org/html/rfc7231#section-6.6.2>
[2]: <http://tools.ietf.org/html/rfc7234#section-4.2.2>