MediaWiki
1.27.1
|
Static Public Member Functions | |
static | getMessage ($code) |
Get the message associated with an HTTP response status code. More... | |
static | header ($code) |
Output an HTTP status code header. More... | |
Definition at line 26 of file HttpStatus.php.
|
static |
Get the message associated with an HTTP response status code.
int | $code | Status code |
Definition at line 34 of file HttpStatus.php.
References $code.
Referenced by SpecialPageExecutor\executeSpecialPage(), and HttpError\getHTML().
|
static |
Output an HTTP status code header.
int | $code | Status code |
Definition at line 96 of file HttpStatus.php.
References $code, and $version.
Referenced by SpecialRunJobs\execute(), StreamFile\prepareForStream(), HttpError\report(), AjaxResponse\sendHeaders(), WebResponse\statusHeader(), MWException\statusHeader(), ResourceLoader\tryRespondNotModified(), wfStreamThumb(), and wfThumbError().