Tech-invite   3GPPspecs   Glossaries   IETFRFCs   Groups   SIP   ABNFs   Ti+   Search in Tech-invite

ABNF for HTTP/1.1 — Hypertext Transfer Protocol
RFCs 7230…35




OWS =
*( SP /  HTAB )
; optional whitespace

RWS =
1*( SP /  HTAB )
; required whitespace

BWS =
OWS
; "bad" whitespace

Up


token =
1*tchar

tchar =
"!" /  "#" /  "$" /  "%" /  "&" /  "'" /  "*" /  "+" /  "-" /  "." /  "^" /  "_" /  "`" /  "|" /  "~" /  DIGIT /  ALPHA
; any VCHAR, except delimiters

quoted-string =
DQUOTE  *( qdtext /  quoted‑pair )  DQUOTE

qdtext =
HTAB /  SP /  %x21 /  %x23‑5B /  %x5D‑7E /  obs‑text

obs-text =
%x80-FF

comment =
"("  *( ctext /  quoted‑pair /  comment )  ")"

ctext =
HTAB /  SP /  %x21‑27 /  %x2A‑5B /  %x5D‑7E /  obs‑text

quoted-pair =
"\"  ( HTAB /  SP /  VCHAR /  obs‑text )

Up


media-type =
type  "/"  subtype  *( OWS  ";"  OWSparameter )

type =
subtype =
parameter =
token  "="  ( token /  quoted‑string )

charset =
content-coding =
language-tag =
<Language-Tag, see   RFC 5646Section 2.1>

Up


weight =
OWS  ";"  OWS  "q="  qvalue

qvalue =
( "0"  [ "."  0*3DIGIT ] )  /  ( "1"  [ "."  0*3( "0" ) ] )

Up