MediaWiki master
|
Static Public Member Functions | |
static | callback () |
The callback, which is called by the transport. | |
static | register () |
Register a callback to be called when headers are sent. | |
static | sanitizeSetCookie (array $values) |
Sanitize Set-Cookie headers for logging. | |
static | warnIfHeadersSent () |
Log a warning message if headers have already been sent. | |
Definition at line 13 of file HeaderCallback.php.
|
static |
The callback, which is called by the transport.
Definition at line 35 of file HeaderCallback.php.
References MediaWiki\Request\WebRequest\getGlobalRequestURL().
|
static |
Register a callback to be called when headers are sent.
There can only be one of these handlers active, so all relevant actions have to be in here.
Definition at line 26 of file HeaderCallback.php.
|
static |
Sanitize Set-Cookie headers for logging.
array | $values | List of header values. |
Definition at line 104 of file HeaderCallback.php.
|
static |
Log a warning message if headers have already been sent.
This can be called before flushing the output.
Definition at line 86 of file HeaderCallback.php.
References wfGetCaller().
Referenced by MediaWiki\FileRepo\ThumbnailEntryPoint\thumbError().