Oihana PHP Enums

ContentHeaderTrait

Content / representation metadata HTTP header names (RFC 9110 §8).

Mixed into HttpHeader.

Tags
author

Marc Alcaraz (ekameleon)

since
1.1.0

Table of Contents

Constants

ALLOW  : string = 'Allow'
`Allow` — Set of methods supported by the target resource (RFC 9110 §10.2.1).
CONTENT_DISPOSITION  : string = 'Content-Disposition'
`Content-Disposition` — How the payload should be handled (inline, attachment) (RFC 6266).
CONTENT_ENCODING  : string = 'Content-Encoding'
`Content-Encoding` — Content codings applied to the representation (RFC 9110 §8.4).
CONTENT_LANGUAGE  : string = 'Content-Language'
`Content-Language` — Natural language(s) of the representation (RFC 9110 §8.5).
CONTENT_LENGTH  : string = 'Content-Length'
`Content-Length` — Size of the representation body in bytes (RFC 9110 §8.6).
CONTENT_LOCATION  : string = 'Content-Location'
`Content-Location` — URL where the representation can be found (RFC 9110 §8.7).
CONTENT_RANGE  : string = 'Content-Range'
`Content-Range` — Where a partial body belongs in the full representation (RFC 9110 §14.4).
CONTENT_TYPE  : string = 'Content-Type'
`Content-Type` — Media type of the representation (RFC 9110 §8.3).
LAST_MODIFIED  : string = 'Last-Modified'
`Last-Modified` — Date/time the representation was last modified (RFC 9110 §8.8.2).
VARY  : string = 'Vary'
`Vary` — Request headers that influenced content negotiation (RFC 9110 §12.5.5).

Constants

ALLOW

`Allow` — Set of methods supported by the target resource (RFC 9110 §10.2.1).

public string ALLOW = 'Allow'

CONTENT_DISPOSITION

`Content-Disposition` — How the payload should be handled (inline, attachment) (RFC 6266).

public string CONTENT_DISPOSITION = 'Content-Disposition'

CONTENT_ENCODING

`Content-Encoding` — Content codings applied to the representation (RFC 9110 §8.4).

public string CONTENT_ENCODING = 'Content-Encoding'

CONTENT_LANGUAGE

`Content-Language` — Natural language(s) of the representation (RFC 9110 §8.5).

public string CONTENT_LANGUAGE = 'Content-Language'

CONTENT_LENGTH

`Content-Length` — Size of the representation body in bytes (RFC 9110 §8.6).

public string CONTENT_LENGTH = 'Content-Length'

CONTENT_LOCATION

`Content-Location` — URL where the representation can be found (RFC 9110 §8.7).

public string CONTENT_LOCATION = 'Content-Location'

CONTENT_RANGE

`Content-Range` — Where a partial body belongs in the full representation (RFC 9110 §14.4).

public string CONTENT_RANGE = 'Content-Range'

CONTENT_TYPE

`Content-Type` — Media type of the representation (RFC 9110 §8.3).

public string CONTENT_TYPE = 'Content-Type'

LAST_MODIFIED

`Last-Modified` — Date/time the representation was last modified (RFC 9110 §8.8.2).

public string LAST_MODIFIED = 'Last-Modified'

VARY

`Vary` — Request headers that influenced content negotiation (RFC 9110 §12.5.5).

public string VARY = 'Vary'
On this page

Search results