mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Requests is a library very similar to WP_HTTP, with a high level of unit test coverage, and has a common lineage and development team. It also supports parallel requests. See #33055. git-svn-id: https://develop.svn.wordpress.org/trunk@37428 602fd350-edb4-49c9-b593-d223f7449a82
27 lines
408 B
PHP
Executable File
27 lines
408 B
PHP
Executable File
<?php
|
|
/**
|
|
* Exception for 405 Method Not Allowed responses
|
|
*
|
|
* @package Requests
|
|
*/
|
|
|
|
/**
|
|
* Exception for 405 Method Not Allowed responses
|
|
*
|
|
* @package Requests
|
|
*/
|
|
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';
|
|
} |