Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
GuzzleHttp\Psr7\Rfc7230 Class Reference

Public Attributes

const HEADER_FOLD_REGEX = "(\r?\n[ t]++)"
 
const HEADER_REGEX = "(^([^()<>@,;:\\\"/[\]?={}\x01-\x20\x7F]++):[ t]*+((?:[ t]*+[::x21-::x7E::x80-::xFF]++)*+)[ t]*+::r?::n)m"
 Header related regular expressions (based on amphp/http package)
 

Member Data Documentation

◆ 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 (based on amphp/http package)

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

@externalurl 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

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