Skip to main content

Appendix B

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

start-line = request-line / status-line
request-line   = method SP request-target SP HTTP-version CRLF
method = token
request-target = origin-form
/ absolute-form
/ authority-form
/ asterisk-form
status-line    = HTTP-version SP status-code SP reason-phrase CRLF
status-code = 3DIGIT
reason-phrase = *( HTAB / SP / VCHAR / obs-text )
header-field   = field-name ":" OWS field-value OWS
field-name = token
field-value = *( field-content / obs-fold )
Transfer-Encoding = 1#transfer-coding
transfer-coding = "chunked" / transfer-extension
Content-Length = 1*DIGIT
Connection        = 1#connection-option
connection-option = token

Host​

Host = uri-host [ ":" port ]