Lines Matching defs:header
83 * The User-Agent HTTP header is stored in here.
587 // Vodafone specific header: http://www.seoprinciple.com/mobile-web-community-still-angry-at-vodafone/24/
677 * @param string $userAgent Inject the User-Agent header. If null, will use HTTP_USER_AGENT
740 * Retrieves a particular header. If it doesn't exist, no exception/error is caused.
743 * @param string $header The name of the header to retrieve. Can be HTTP compliant such as
747 * @return string|null The value of the header.
749 public function getHttpHeader($header)
752 if (strpos($header, '_') === false) {
753 $header = str_replace('-', '_', $header);
754 $header = strtoupper($header);
758 $altHeader = 'HTTP_' . $header;
761 if (isset($this->httpHeaders[$header])) {
762 return $this->httpHeaders[$header];
789 * http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/header-caching.html#header-caching-web-device