Open Journal Systems  3.3.0
GuzzleHttp\Psr7\Rfc7230 Class Reference

Data Fields

const HEADER_FOLD_REGEX = "(\r?\n[ \t]++)"
 
const HEADER_REGEX = "(^([^()<>@,;:\\\"/[\]?={}\x01-\x20\x7F]++):[ \t]*+((?:[ \t]*+[\x21-\x7E\x80-\xFF]++)*+)[ \t]*+\r?\n)m"
 

Detailed Description

Definition at line 5 of file Rfc7230.php.

Field Documentation

◆ HEADER_FOLD_REGEX

const GuzzleHttp\Psr7\Rfc7230::HEADER_FOLD_REGEX = "(\r?\n[ \t]++)"

Definition at line 17 of file Rfc7230.php.

Referenced by GuzzleHttp\Psr7\_parse_message().

◆ HEADER_REGEX

const GuzzleHttp\Psr7\Rfc7230::HEADER_REGEX = "(^([^()<>@,;:\\\"/[\]?={}\x01-\x20\x7F]++):[ \t]*+((?:[ \t]*+[\x21-\x7E\x80-\xFF]++)*+)[ \t]*+\r?\n)m"

Header related regular expressions (copied from amphp/http package) (Note: once we require PHP 7.x we could just depend on the upstream package)

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

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

Definition at line 16 of file Rfc7230.php.

Referenced by GuzzleHttp\Psr7\_parse_message().


The documentation for this class was generated from the following file: