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

Breadcrumb

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

class Rfc7230

@internal

Hierarchy

  • class \GuzzleHttp\Psr7\Rfc7230

Expanded class hierarchy of Rfc7230

File

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

Namespace

GuzzleHttp\Psr7
View source
final class Rfc7230 {
    
    /**
     * 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.
     *
     * @see https://github.com/amphp/http/blob/v1.0.1/src/Rfc7230.php#L12-L15
     *
     * @license https://github.com/amphp/http/blob/v1.0.1/LICENSE
     */
    public const HEADER_REGEX = "(^([^()<>@,;:\\\"/[\\]?={}\x01- ]++):[ \t]*+((?:[ \t]*+[!-~\x80-\xff]++)*+)[ \t]*+\r?\n)m";
    public const HEADER_FOLD_REGEX = "(\r?\n[ \t]++)";

}

Members

Title Sort descending Modifiers Object type Summary
Rfc7230::HEADER_FOLD_REGEX public constant
Rfc7230::HEADER_REGEX public constant Header related regular expressions (based on amphp/http package)

API Navigation

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