Blame view

sources/3rdparty/rackspace/php-opencloud/lib/OpenCloud/Common/Constants/Header.php 2.57 KB
6d9380f96   Cédric Dupont   Update sources OC...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
  <?php
  /**
   * PHP OpenCloud library.
   * 
   * @copyright 2014 Rackspace Hosting, Inc. See LICENSE for information.
   * @license   https://www.apache.org/licenses/LICENSE-2.0
   * @author    Jamie Hannaford <jamie.hannaford@rackspace.com>
   */
  
  namespace OpenCloud\Common\Constants;
  
  /**
   * Standard Header Field names as defined in RFC2616.
   *
   * @link    http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html
   * @package OpenCloud\Common\Constants
   */
  class Header 
  {
      const ACCEPT                = 'Accept';
      const ACCEPT_CHARSET        = 'Accept-Charset';
      const ACCEPT_ENCODING       = 'Accept-Encoding';
      const ACCEPT_LANGUAGE       = 'Accept-Language';
      const ACCEPT_RANGES         = 'Accept-Ranges';
      const AGE                   = 'Age';
      const ALLOW                 = 'Allow';
      const AUTHORIZATION         = 'Authorization';
      const CACHE_CONTROL         = 'Cache-Control';
      const CONNECTION            = 'Connection';
      const CONTENT_ENCODING      = 'Content-Encoding';
      const CONTENT_LANGUAGE      = 'Content-Language';
      const CONTENT_LENGTH        = 'Content-Length';
      const CONTENT_LOCATION      = 'Content-Location';
      const CONTENT_MD5           = 'Content-MD5';
      const CONTENT_RANGE         = 'Content-Range';
      const CONTENT_TYPE          = 'Content-Type';
      const DATE                  = 'Date';
      const ETAG                  = 'ETag';
      const EXPECT                = 'Expect';
      const EXPIRES               = 'Expires';
      const FROM                  = 'From';
      const HOST                  = 'Host';
      const IF_MATCH              = 'If-Match';
      const IF_MODIFIED_SINCE     = 'If-Modified-Since';
      const IF_NONE_MATCH         = 'If-None-Match';
      const IF_RANGE              = 'If-Range';
      const IF_UNMODIFIED_SINCE   = 'If-Unmodified-Since';
      const LAST_MODIFIED         = 'Last-Modified';
      const LOCATION              = 'Location';
      const MAX_FORWARDS          = 'Max-Forwards';
      const PRAGMA                = 'Pragma';
      const PROXY_AUTHENTICATION  = 'Proxy-Authenticate';
      const PROXY_AUTHORIZATION   = 'Proxy-Authorization';
      const RANGE                 = 'Range';
      const REFERER               = 'Referer';
      const RETRY_AFTER           = 'Retry-After';
      const SERVER                = 'Server';
      const TE                    = 'TE';
      const TRAILER               = 'Trailer';
      const TRANSFER_ENCODING     = 'Transfer-Encoding';
      const UPGRADE               = 'Upgrade';
      const USER_AGENT            = 'User-Agent';
      const VARY                  = 'Vary';
      const VIA                   = 'Via';
  }