Uses
Uses | Description |
---|---|
wp-includes/Requests/Exception/HTTP.php: Requests_Exception_HTTP | Exception based on HTTP response |
Exception for 405 Method Not Allowed responses
File: wp-includes/Requests/Exception/HTTP/405.php
class Requests_Exception_HTTP_405 extends Requests_Exception_HTTP { /** * HTTP status code * * @var integer */ protected $code = 405; /** * Reason phrase * * @var string */ protected $reason = 'Method Not Allowed'; }
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/requests_exception_http_405