<?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]++)";
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Exception | Folder | 0755 |
|
|
| AppendStream.php | File | 5.81 KB | 0644 |
|
| BufferStream.php | File | 3.14 KB | 0644 |
|
| CachingStream.php | File | 4.49 KB | 0644 |
|
| DroppingStream.php | File | 1.17 KB | 0644 |
|
| FnStream.php | File | 4.21 KB | 0644 |
|
| Header.php | File | 3.85 KB | 0644 |
|
| HttpFactory.php | File | 3 KB | 0644 |
|
| InflateStream.php | File | 1.38 KB | 0644 |
|
| LazyOpenStream.php | File | 1.06 KB | 0644 |
|
| LimitStream.php | File | 4.18 KB | 0644 |
|
| Message.php | File | 8.14 KB | 0644 |
|
| MessageTrait.php | File | 7.61 KB | 0644 |
|
| MimeType.php | File | 55.82 KB | 0644 |
|
| MultipartStream.php | File | 6.85 KB | 0644 |
|
| NoSeekStream.php | File | 524 B | 0644 |
|
| PumpStream.php | File | 4.49 KB | 0644 |
|
| Query.php | File | 3.95 KB | 0644 |
|
| Request.php | File | 3.81 KB | 0644 |
|
| Response.php | File | 4.79 KB | 0644 |
|
| Rfc7230.php | File | 661 B | 0644 |
|
| ServerRequest.php | File | 9.33 KB | 0644 |
|
| Stream.php | File | 7.21 KB | 0644 |
|
| StreamDecoratorTrait.php | File | 3.24 KB | 0644 |
|
| StreamWrapper.php | File | 4.53 KB | 0644 |
|
| UploadedFile.php | File | 4.98 KB | 0644 |
|
| Uri.php | File | 21.5 KB | 0644 |
|
| UriComparator.php | File | 1.12 KB | 0644 |
|
| UriNormalizer.php | File | 8.26 KB | 0644 |
|
| UriResolver.php | File | 8.38 KB | 0644 |
|
| Utils.php | File | 15.57 KB | 0644 |
|