Passa al contenuto principale

Appendice A. ABNF raccolto (Collected ABNF)

Questa appendice fornisce una vista consolidata di tutte le regole ABNF definite in questa specifica.

HTTP-message   = start-line CRLF
*( field-line CRLF )
CRLF
[ message-body ]

HTTP-version = HTTP-name "/" DIGIT "." DIGIT
HTTP-name = %s"HTTP"

absolute-URI = <absolute-URI, vedere [URI], Sezione 4.3>
absolute-path = <absolute-path, vedere [HTTP], Sezione 4.1>
authority = <authority, vedere [URI], Sezione 3.2>

chunk = chunk-size [ chunk-ext ] CRLF
chunk-data CRLF
chunk-data = 1*OCTET
chunk-ext = *( BWS ";" BWS chunk-ext-name
[ BWS "=" BWS chunk-ext-val ] )
chunk-ext-name = token
chunk-ext-val = token / quoted-string
chunk-size = 1*HEXDIG

chunked-body = *chunk
last-chunk
trailer-section
CRLF

field-line = field-name ":" OWS field-value OWS
field-name = <field-name, vedere [HTTP], Sezione 5.1>
field-value = <field-value, vedere [HTTP], Sezione 5.5>

last-chunk = 1*("0") [ chunk-ext ] CRLF

message-body = *OCTET

method = token

obs-fold = OWS CRLF RWS
obs-text = <obs-text, vedere [HTTP], Sezione 5.6.4>

origin-form = absolute-path [ "?" query ]

query = <query, vedere [URI], Sezione 3.4>
quoted-string = <quoted-string, vedere [HTTP], Sezione 5.6.4>

reason-phrase = 1*( HTAB / SP / VCHAR / obs-text )
request-line = method SP request-target SP HTTP-version
request-target = origin-form
/ absolute-form
/ authority-form
/ asterisk-form

start-line = request-line / status-line
status-code = 3DIGIT
status-line = HTTP-version SP status-code SP [ reason-phrase ]

token = <token, vedere [HTTP], Sezione 5.6.2>
trailer-section = *( field-line CRLF )
transfer-coding = <transfer-coding, vedere [HTTP], Sezione 10.1.4>

uri-host = <host, vedere [URI], Sezione 3.2.2>