Tech-invite3GPPspecsGlossariesIETFRFCsGroupsSIPABNFs   Ti+SearchTech-invite World Map Symbol

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

HTTP/1.1 — Message Format

RFC 7230 – Section 3

HTTP-message =
Top
start-line =
Up
request-line =
Up
status-line =
Up
method =
token
; "GET"
; → RFC 7231 – Section 4.3.1
; "HEAD"
; → RFC 7231 – Section 4.3.2
; "POST"
; → RFC 7231 – Section 4.3.3
; "PUT"
; → RFC 7231 – Section 4.3.4
; "DELETE"
; → RFC 7231 – Section 4.3.5
; "CONNECT"
; → RFC 7231 – Section 4.3.6
; "OPTIONS"
; → RFC 7231 – Section 4.3.7
; "TRACE"
; → RFC 7231 – Section 4.3.8
Up
HTTP-version =
HTTP-name /  DIGIT  "."  DIGIT
Up
Up
HTTP-name =
%x48.54.54.50
; "HTTP", case-sensitive
Up
message-body =
Up
reason-phrase =
*( HTAB /  SP /  VCHAR /  obs‑text )
Up
status-code =
Up
; 100 Continue
;      → Section 6.2.1
; 101 Switching Protocols
;      → Section 6.2.2
Up

; 200 OK
;      → Section 6.3.1
; 201 Created
;      → Section 6.3.2
; 202 Accepted
;      → Section 6.3.3
; 203 Non-Authoritative Information
;      → Section 6.3.4
; 204 No Content
;      → Section 6.3.5
; 205 Reset Content
;      → Section 6.3.6
; 206 Partial Content
;      → RFC 7233 – Section 4.1
Up

; 300 Multiple Choices
;      → Section 6.4.1
; 301 Moved Permanently
;      → Section 6.4.2
; 302 Found
;      → Section 6.4.3
; 303 See Other
;      → Section 6.4.4
; 304 Not Modified
;      → RFC 7232 – Section 4.1
; 305 Use Proxy
;      → Section 6.4.5
; 306 (Unused)
;      → Section 6.4.6
; 307 Temporary Redirect
;      → Section 6.4.7
Up

; 400   Bad Request
;      → Section 6.5.1
; 401 Unauthorized
;      → RFC 7235 – Section 3.1
; 402 Payment Required
;      → Section 6.5.2
; 403 Forbidden
;      → Section 6.5.3
; 404 Not Found
;      → Section 6.5.4
; 405 Method Not Allowed
;      → Section 6.5.5
; 406 Not Acceptable
;      → Section 6.5.6
; 407 Proxy Authentication Required
;      → RFC 7235 – Section 3.2
; 408 Request Timeout
;      → Section 6.5.7
; 409 Conflict
;      → Section 6.5.8
; 410 Gone
;      → Section 6.5.9
; 411 Length Required
;      → Section 6.5.10
; 412 Precondition Failed
;      → RFC 7232 – Section 4.2
; 413 Payload Too Large
;      → Section 6.5.11
; 414 URI Too Long
;      → Section 6.5.12
; 415 Unsupported Media Type
;      → Section 6.5.13
; 416 Range Not Satisfiable
;      → RFC 7233 – Section 4.4
; 417 Expectation Failed
;      → Section 6.5.14
; 426 Upgrade Required
;      → Section 6.5.15
Up

; 500 Internal Server Error
;      → Section 6.6.1
; 501 Not Implemented
;      → Section 6.6.2
; 502 Bad Gateway
;      → Section 6.6.3
; 503 Service Unavailable
;      → Section 6.6.4
; 504 Gateway Timeout
;      → Section 6.6.5
; 505 HTTP Version Not Supported
;      → Section 6.6.6
Up

header-field =
field-name  ":"  OWSfield-valueOWS
Up
field-name =
Up
field-value =
*( field-content /  obs-fold )
Up
field-content =
field-vchar  [ 1*( SP  /  HTAB )  field-vchar ]
Up
field-vchar =
VCHAR /  obs-text
Up
obs-fold =
CRLF  1*( SP /  HTAB )     ; see  RFC 7230 – Section 3.2.4
Up

Top