MediaWiki master
MediaWiki\Rest\ResponseHeaders Class Reference

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'
 

Detailed Description

Central definition of HTTP response headers and their OpenAPI schemas for REST Handlers.

Definition at line 9 of file ResponseHeaders.php.

Member Data Documentation

◆ CACHE_CONTROL

const MediaWiki\Rest\ResponseHeaders::CACHE_CONTROL = 'Cache-Control'

Header name constants.

Definition at line 15 of file ResponseHeaders.php.

◆ CONTENT_LANGUAGE

const MediaWiki\Rest\ResponseHeaders::CONTENT_LANGUAGE = 'Content-Language'

Definition at line 16 of file ResponseHeaders.php.

◆ CONTENT_TYPE

const MediaWiki\Rest\ResponseHeaders::CONTENT_TYPE = 'Content-Type'

Definition at line 17 of file ResponseHeaders.php.

◆ DEPRECATION

const MediaWiki\Rest\ResponseHeaders::DEPRECATION = 'Deprecation'

Definition at line 18 of file ResponseHeaders.php.

◆ ETAG

const MediaWiki\Rest\ResponseHeaders::ETAG = 'ETag'

Definition at line 19 of file ResponseHeaders.php.

◆ EXPIRES

const MediaWiki\Rest\ResponseHeaders::EXPIRES = 'Expires'

Definition at line 20 of file ResponseHeaders.php.

◆ LAST_MODIFIED

const MediaWiki\Rest\ResponseHeaders::LAST_MODIFIED = 'Last-Modified'

Definition at line 21 of file ResponseHeaders.php.

◆ LINK

const MediaWiki\Rest\ResponseHeaders::LINK = 'Link'

Definition at line 22 of file ResponseHeaders.php.

◆ LOCATION

const MediaWiki\Rest\ResponseHeaders::LOCATION = 'Location'

◆ MEDIAWIKI_REVISION_ID

const MediaWiki\Rest\ResponseHeaders::MEDIAWIKI_REVISION_ID = 'X-MediaWiki-Revision-Id'

Definition at line 24 of file ResponseHeaders.php.

◆ REQUEST_ID

const MediaWiki\Rest\ResponseHeaders::REQUEST_ID = 'X-Request-Id'

Definition at line 25 of file ResponseHeaders.php.

◆ RESPONSE_HEADER_DEFINITIONS

const MediaWiki\Rest\ResponseHeaders::RESPONSE_HEADER_DEFINITIONS

OpenAPI response header definitions for descriptions and schemas.

Definition at line 31 of file ResponseHeaders.php.

◆ VARY

const MediaWiki\Rest\ResponseHeaders::VARY = 'Vary'

Definition at line 26 of file ResponseHeaders.php.


The documentation for this class was generated from the following file: