Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HeaderUtils.php

6 calls to HeaderUtils::split()

AcceptHeader::fromString in vendor/symfony/http-foundation/AcceptHeader.php
Builds an AcceptHeader instance from a string.
AcceptHeaderItem::fromString in vendor/symfony/http-foundation/AcceptHeaderItem.php
Builds an AcceptHeaderInstance instance from a string.
BinaryFileResponse::prepare in vendor/symfony/http-foundation/BinaryFileResponse.php
Prepares the Response before it is sent to the client.
Cookie::fromString in vendor/symfony/http-foundation/Cookie.php
Creates cookie from raw header string.
HeaderBag::parseCacheControl in vendor/symfony/http-foundation/HeaderBag.php
Parses a Cache-Control HTTP header.
Request::getTrustedValues in vendor/symfony/http-foundation/Request.php
This method is rather heavy because it splits and merges headers, and it's called by many other methods such as getPort(), isSecure(), getHost(), getClientIps(), getBaseUrl() etc. Thus, we try to cache the results for best performance.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal