Skip to content

Instantly share code, notes, and snippets.

@adamelso
Created March 7, 2014 16:15
Show Gist options
  • Save adamelso/9414479 to your computer and use it in GitHub Desktop.
Save adamelso/9414479 to your computer and use it in GitHub Desktop.
Http\Headers
<?php
namespace ArchFizz\Http;
final class Headers
{
const HTTP_ACCEPT = 'Accept';
const HTTP_ACCEPT_CHARSET = 'Accept-Charset';
const HTTP_ACCEPT_ENCODING = 'Accept-Encoding';
const HTTP_ACCEPT_LANGUAGE = 'Accept-Language';
const HTTP_ACCEPT_RANGES = 'Accept-Ranges';
const HTTP_ACCEPT_DATETIME = 'Accept-Datetime';
const HTTP_ALLOW = 'Allow';
const HTTP_AUTHORIZATION = 'Authorization';
const HTTP_CACHE_CONTROL = 'Cache-Control';
const HTTP_CONNECTION = 'Connection';
const HTTP_COOKIE = 'Cookie';
const HTTP_CONTENT_ENCODING = 'Content-Encoding';
const HTTP_CONTENT_LANGUAGE = 'Content-Language';
const HTTP_CONTENT_LENGTH = 'Content-Length';
const HTTP_CONTENT_LOCATION = 'Content-Location';
const HTTP_CONTENT_MD5 = 'Content-MD5';
const HTTP_CONTENT_RANGE = 'Content-Range';
const HTTP_CONTENT_TYPE = 'Content-Type';
const HTTP_DATE = 'Date';
const HTTP_ETAG = 'ETag';
const HTTP_EXPIRES = 'Expires';
const HTTP_FROM = 'From';
const HTTP_HOST = 'Host';
const HTTP_IF_MATCH = 'If-Match';
const HTTP_IF_MODIFIED_SINCE = 'If-Modified-Since';
const HTTP_IF_NONE_MATCH = 'If-None-Match';
const HTTP_IF_RANGE = 'If-Range';
const HTTP_IF_UNMODIFIED_SINCE = 'If-Unmodified-Since';
const HTTP_LAST_MODIFIED = 'Last-Modified';
const HTTP_LOCATION = 'Location';
const HTTP_MAX_FORWARDS = 'Max-Forwards';
const HTTP_ORIGIN = 'Origin';
const HTTP_PRAGMA = 'Pragma';
const HTTP_PROXY_AUTHENTICATE = 'Proxy-Authenticate';
const HTTP_PROXY_AUTHORIZATION = 'Proxy-Authorization';
const HTTP_RANGE = 'Range';
const HTTP_REFERER = 'Referer';
const HTTP_RETRY_AFTER = 'Retry-After';
const HTTP_SERVER = 'Server';
const HTTP_TE = 'TE';
const HTTP_TRAILER = 'Trailer';
const HTTP_TRANSFER_ENCODING = 'Transfer-Encoding';
const HTTP_UPGRADE = 'Upgrade';
const HTTP_USER_AGENT = 'User-Agent';
const HTTP_VARY = 'Vary';
const HTTP_VIA = 'Via';
const HTTP_WARNING = 'Warning';
const HTTP_WWW_AUTHENTICATE = 'WWW-Authenticate';
private function __construct()
{
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment