RFC7230
class RFC7230 (View source)
Hypertext Transfer Protocol (HTTP/1.1): Message Syntax and Routing
Constants
| DELIMITER_PATTERN |
From RFC 7230 Section 3.2.6 Delimiters are chosen from the set of US-ASCII visual characters not allowed in a token (DQUOTE and "(),/:;<=>?@[]{}"). |
| OWS_PATTERN |
Optional whitespace |
| BWS_PATTERN |
Bad whitespace |
| VCHAR_RANGE |
Visible characters |
| TOKEN_CHAR_RANGE |
Set of characters authorized in tokens |
| TOKEN_PATTERN |
From RFC 7230 Section 3.2.6 token = 1*tchar tchar = "!" / "#" / "$" / "%" / "&" / "'" / "*" / "+" / "-" / "." / "^" / "_" / "`" / "|" / "~" / DIGIT / ALPHA ; any VCHAR, except delimiters |
| OBS_TEXT_RANGE |
obs-text = %x80-FF |
| QUOTED_PAIR_PATTERN |
Quoted character quoted-pair = "\" ( HTAB / SP / VCHAR / obs-text ) |
| QUOTED_TEXT_RANGE |
qdtext = HTAB / SP /%x21 / %x23-5B / %x5D-7E / obs-text |
| DQUOTE |
Double quote |
| QUOTED_STRING_PATTERN |
From RFC 7230 Section 3.2.6 Capture group represents the string inside double quotes quoted-string = DQUOTE *( qdtext / quoted-pair ) DQUOTE |
| PARAMETER_VALUE_PATTERN |
Parameter value Value is located in capture group #1 if the value is a token, in group #2 if i'ts a quoted value parameter-value = ( token / quoted-string ) |
| PARAMETER_PATTERN |
Parameter parameter = parameter-name "=" parameter-value |
| HEADER_FIELD_NAME_PATTERN |
Http header field name pattern |
| HEADER_FIELD_NAME_PATTERN_OPTION |
|