|
MediaWiki master
|
Central definition of HTTP response headers and their OpenAPI schemas for REST Handlers. More...
Public Attributes | |
| const | CACHE_CONTROL = 'Cache-Control' |
| Header name constants. | |
| const | CONTENT_LANGUAGE = 'Content-Language' |
| const | CONTENT_TYPE = 'Content-Type' |
| const | DEPRECATION = 'Deprecation' |
| const | ETAG = 'ETag' |
| const | EXPIRES = 'Expires' |
| const | LAST_MODIFIED = 'Last-Modified' |
| const | LINK = 'Link' |
| const | LOCATION = 'Location' |
| const | MEDIAWIKI_REVISION_ID = 'X-MediaWiki-Revision-Id' |
| const | REQUEST_ID = 'X-Request-Id' |
| const | RESPONSE_HEADER_DEFINITIONS |
| OpenAPI response header definitions for descriptions and schemas. | |
| const | VARY = 'Vary' |
Central definition of HTTP response headers and their OpenAPI schemas for REST Handlers.
Definition at line 9 of file ResponseHeaders.php.
| const MediaWiki\Rest\ResponseHeaders::CACHE_CONTROL = 'Cache-Control' |
Header name constants.
Definition at line 15 of file ResponseHeaders.php.
| const MediaWiki\Rest\ResponseHeaders::CONTENT_LANGUAGE = 'Content-Language' |
Definition at line 16 of file ResponseHeaders.php.
| const MediaWiki\Rest\ResponseHeaders::CONTENT_TYPE = 'Content-Type' |
Definition at line 17 of file ResponseHeaders.php.
| const MediaWiki\Rest\ResponseHeaders::DEPRECATION = 'Deprecation' |
Definition at line 18 of file ResponseHeaders.php.
| const MediaWiki\Rest\ResponseHeaders::ETAG = 'ETag' |
Definition at line 19 of file ResponseHeaders.php.
| const MediaWiki\Rest\ResponseHeaders::EXPIRES = 'Expires' |
Definition at line 20 of file ResponseHeaders.php.
| const MediaWiki\Rest\ResponseHeaders::LAST_MODIFIED = 'Last-Modified' |
Definition at line 21 of file ResponseHeaders.php.
| const MediaWiki\Rest\ResponseHeaders::LINK = 'Link' |
Definition at line 22 of file ResponseHeaders.php.
| const MediaWiki\Rest\ResponseHeaders::LOCATION = 'Location' |
Definition at line 23 of file ResponseHeaders.php.
Referenced by MediaWiki\Rest\Handler\CreationHandler\mapActionModuleResponse().
| const MediaWiki\Rest\ResponseHeaders::MEDIAWIKI_REVISION_ID = 'X-MediaWiki-Revision-Id' |
Definition at line 24 of file ResponseHeaders.php.
| const MediaWiki\Rest\ResponseHeaders::REQUEST_ID = 'X-Request-Id' |
Definition at line 25 of file ResponseHeaders.php.
| const MediaWiki\Rest\ResponseHeaders::RESPONSE_HEADER_DEFINITIONS |
OpenAPI response header definitions for descriptions and schemas.
Definition at line 31 of file ResponseHeaders.php.
| const MediaWiki\Rest\ResponseHeaders::VARY = 'Vary' |
Definition at line 26 of file ResponseHeaders.php.