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

Breadcrumb

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

Rfc7230::HEADER_REGEX

Header related regular expressions (based on amphp/http package)

Note: header delimiter (\r\n) is modified to \r?\n to accept line feed only delimiters for BC reasons.

@license https://github.com/amphp/http/blob/v1.0.1/LICENSE

See also

https://github.com/amphp/http/blob/v1.0.1/src/Rfc7230.php#L12-L15

File

vendor/guzzlehttp/psr7/src/Rfc7230.php, line 21

Class

Rfc7230
@internal

Namespace

GuzzleHttp\Psr7

Code

public const HEADER_REGEX = "(^([^()<>@,;:\\\"/[\\]?={}\x01- ]++):[ \t]*+((?:[ \t]*+[!-~\x80-\xff]++)*+)[ \t]*+\r?\n)m";

API Navigation

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