Moodle PHP Documentation 5.1
Moodle 5.1dev (Build: 20250605) (9223e346c3e)
|
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) | |
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.