CoreFiles by mySites.guru
Rfc7230.php23 lines, 661 bytes, from Joomla_5.2.0-Stable-Full_Package.zip
Raw History Compare with 5.1.4
md5
255ccdedb66492c5a39e0f0130269a93
sha1
95b203540fcfbd2d400627431763b9d29b936e10
sha256
e6e49fef87f2c0e4b101bf93d066dff65ecb71ccfb83822f1d0dacbf29c29834
<?php

declare(strict_types=1);

namespace GuzzleHttp\Psr7;

/**
 * @internal
 */
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-\x20\x7F]++):[ \t]*+((?:[ \t]*+[\x21-\x7E\x80-\xFF]++)*+)[ \t]*+\r?\n)m";
    public const HEADER_FOLD_REGEX = "(\r?\n[ \t]++)";
}

The same content is in 106 releases, Joomla 5.1.0-beta1 to 6.2.0-alpha1. See them all, or every version of this file.