tech-invite   World Map     

IETF     RFCs     Groups     SIP     ABNFs    |    3GPP     Specs     Glossaries     Architecture     IMS     UICC    |    search     info




ABNF for HTTP/1.1 – Hypertext Transfer Protocol – RFC 7230 to 7235

2  of  3

 

Here

 

Top

 

Up

 

Prev

 

Next

 

Message_Format     Header_Fields     URIs_and_Request_Target     Transfer_Codings
Date_Time     Range_Units     Challenge_Response_Authentication     Miscellaneous

RFC 7230 – Section 3.2

see   RFC 7230 – Section 7   for the #rule ABNF List extension

Up

header-field   =
field-name   ":"   OWS   field-value   OWS  

field-name   =
field-value   =
*( field-content  /  obs-fold )

field-content   =
field-vchar  [ 1*( SP  /  HTAB )   field-vchar ]

field-vchar   =
VCHAR  /  obs-text

obs-fold   =
CRLF   1*( SP  /  HTAB )     ;  see  RFC 7230 – Section 3.2.4

 

 

 

 

 

Here

 

Up

Accept     Accept_Charset     Accept_Encoding     Accept_Language     Accept_Ranges     Age     Allow     Authorization     Cache_Control     Connection     Content_Encoding     Content_Language     Content_Length     Content_Location     Content_Range     Content_Type     Date     ETag     Expect     Expires     From     Host     If_Match     If_Modified_Since     If_None_Match     If_Range     If_Unmodified_Since     Last_Modified     Location     Max_Forwards     MIME_Version     Pragma     Proxy_Authenticate     Proxy_Authorization     Range     Referer     Retry_After     Server     TE     Trailer     Transfer_Encoding     Upgrade     User_Agent     Vary     Via     Warning     WWW_Authenticate    

 

RFC 7231 – Section 5.3.2

Up

Accept   =
media-range   =
( "*/*"  /  ( type "/"   "*" )  /  ( type "/"   subtype ) )   *( OWS   ";"   OWS   parameter )

accept-params   =
weight   *( accept-ext )

accept-ext   =
OWS   ";"   OWS   token   [ "="   ( token    /  quoted-string ) ]



RFC 7231 – Section 5.3.3

Up

Accept-Charset   =
1#( ( charset  /  "*" )   [ weight ] )



RFC 7231 – Section 5.3.4

Up

Accept-Encoding   =
#( codings   [ weight ] )

codings   =
content-coding  /  "identity"  /  "*"



RFC 7231 – Section 5.3.5

Up


Accept-Language   =
1#( language-range   [ weight ] )

language-range   =
<language-range, see   RFC 4647Section 2.1>



RFC 7233 – Section 2.3

Up

Accept-Ranges   =
acceptable-ranges   =
1#range-unit  /  "none"



RFC 7234 – Section 5.1

Up

Age   =



RFC 7231 – Section 7.4.1

Up

Allow   =



RFC 7235 – Section 4.2

Up

Authorization   =



RFC 7234 – Section 5.2

Up

Cache-Control   =
cache-directive   =



RFC 7230 – Section 6.1

Up

Connection   =
connection-option   =



RFC 7231 – Section 3.1.2.2

Up

Content-Encoding   =



RFC 7231 – Section 3.1.3.2

Up

Content-Language   =



RFC 7230 – Section 3.3.2

Up

Content-Length   =
1*DIGIT



RFC 7231 – Section 3.1.4.2

Up

Content-Location   =



RFC 7233 – Section 4.2

Up

Content-Range   =
byte-content-range   =
byte-range-resp   =
byte-range   "/"   ( complete-length  /  "*" )

byte-range   =
unsatisfied-range   =
"*/"   complete-length

complete-length   =
1*DIGIT

other-content-range   =
other-range-resp   =
*CHAR



RFC 7231 – Section 3.1.1.5

Up

Content-Type   =



RFC 7231 – Section 7.1.1.2

Up

Date   =



RFC 7232 – Section 2.3

Up

ETag   =
entity-tag   =
[ weak ]   opaque-tag

weak   =
%x57.2F
; "W/", case-sensitive

opaque-tag   =
etagc   =
%x21  /  %x23-7E  /  obs-text
; VCHAR except double quotes, plus obs-text



RFC 7231 – Section 5.1.1

Up

Expect   =
"100-continue"



RFC 7234 – Section 5.3

Up

Expires   =



RFC 7231 – Section 5.5.1

Up

From   =



RFC 7230 – Section 5.4

Up

Host   =
uri-host   [ ":"   port ]



RFC 7232 – Section 3.1

Up

If-Match   =
"*"  /  1#entity-tag



RFC 7232 – Section 3.3

Up

If-Modified-Since   =



RFC 7232 – Section 3.2

Up

If-None-Match   =
"*"  /  1#entity-tag



RFC 7233 – Section 3.2

Up

If-Range   =



RFC 7232 – Section 3.4

Up

If-Unmodified-Since   =



RFC 7232 – Section 2.2

Up

Last-Modified   =



RFC 7231 – Section 7.1.2

Up

Location   =



RFC 7231 – Section 5.1.2

Up

Max-Forwards   =
1*DIGIT



RFC 7231 – Appendix A.1

Up




RFC 7234 – Section 5.4

Up

Pragma   =
pragma-directive   =
"no-cache"  /  extension-pragma

extension-pragma   =
token   [ "="   ( token  /  quoted-string ) ]



RFC 7235 – Section 4.3

Up

Proxy-Authenticate   =



RFC 7235 – Section 4.4

Up

Proxy-Authorization   =



RFC 7233 – Section 3.1

Up

Range   =
other-ranges-specifier   =
other-range-set   =
1*VCHAR



RFC 7231 – Section 5.5.2

Up

Referer   =



RFC 7231 – Section 7.1.3

Up

Retry-After   =
delay-seconds   =
1*DIGIT



RFC 7231 – Section 7.4.2

Up

Server   =
product   *( RWS   ( product  /  comment ) )



RFC 7230 – Section 4.3

Up

TE   =
t-codings   =
"trailers"    /  (  transfer-coding   [ t-ranking ]  )

t-ranking   =
OWS   ";"   OWS   "q="   rank  

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



RFC 7230 – Section 4.4

Up

Trailer   =



RFC 7230 – Section 3.3.1

Up

Transfer-Encoding   =



RFC 7230 – Section 6.7

Up

Upgrade   =
protocol   =
protocol-name   =
protocol-version   =



RFC 7231 – Section 5.5.3

Up

User-Agent   =
product   *( RWS   ( product  /  comment ) )

product   =
token   [ "/"   product-version ]

product-version   =



RFC 7231 – Section 7.1.4

Up

Vary   =
"*"  /  1#field-name



RFC 7230 – Section 5.7.1

Up

Via   =
1#( received-protocol   RWS   received-by   [ RWS   comment ] )

received-protocol   =
received-by   =
( uri-host   [ ":"   port ] )    /  pseudonym

pseudonym   =



RFC 7234 – Section 5.5

Up

Warning   =
warning-value   =
warn-code   SP   warn-agent   SP   warn-text   [ SP   warn-date ]

warn-code   =
3DIGIT
; 110   Response is Stale   [ RFC 7234 – Section 5.5.1 ]
; 111   Revalidation Failed   [ RFC 7234 – Section 5.5.2 ]
; 112   Disconnected Operation   [ RFC 7234 – Section 5.5.3 ]
; 113   Heuristic Expiration   [ RFC 7234 – Section 5.5.4 ]
; 199   Miscellaneous Warning   [ RFC 7234 – Section 5.5.5 ]
; 214   Transformation Applied   [ RFC 7234 – Section 5.5.6 ]
; 299   Miscellaneous Persistent Warning   [ RFC 7234 – Section 5.5.7 ]

warn-agent   =
( uri-host   [ ":"   port ] )  /  pseudonym

warn-text   =
warn-date   =



RFC 7235 – Section 4.1

Up

WWW-Authenticate   =