Share via


2.2.1.2 Request-Header

The HTTP Encapsulation of SSTP Protocol uses several HTTP request headers defined by the HTTP 1.0 protocol (see [RFC1945], section 5.2) and the HTTP 1.1 protocol (see [RFC2068], section 5.3). Most of the HTTP headers used by the HTTP Encapsulation of SSTP Protocol are further constrained in how they can be used. This section defines all of the HTTP headers used by the HTTP Encapsulation of SSTP, and all of these HTTP headers apply only to the HTTP Requests unless otherwise specified.

A client SHOULD NOT send any HTTP header not specified in this section. It is possible that a proxy between a client and a server will add additional headers. For example, a proxy can add an additional header indicating the method it used to serve the request made by the client. In this case, the server or the client can receive HTTP headers not specified in this section. In such cases, the server MUST interpret the header in accordance with the HTTP 1.0 or HTTP 1.1 protocol. If the server receives an HTTP header that is specified in this section but that contains a value that is not specified in this section, the header SHOULD be ignored.

Following is the Common ABNF definition used for the HTTP request headers and HTTP response headers:

SP = " "; Space

CR = %x0D ; carriage return

LF = %x0A; linefeed

CRLF = CR LF

NUL = ""; NULL Character ‘\0’

DIGIT = "0" / "1" / "2" / "3" / "4" / "5" / "6" / "7" / "8" / "9"

OCTET = %x00-FF; 8 bits of data

ALPHA = %x41-5A / %x61-7A; A-Z / a-z

CHAR = %x01-7F; any 7-bit US-ASCII character, excluding NUL

wkday = "Mon" / "Tue" / "Wed" / "Thu" / "Fri" / "Sat" / "Sun"

date-month-year = 2DIGIT SP month SP 4DIGIT  

month = "Jan" / "Feb" / "Mar" / "Apr" /"May" / "Jun" / "Jul" / "Aug"/ "Sep" / "Oct" / "Nov" / "Dec"

time = 2DIGIT ":" 2DIGIT ":" 2DIGIT

HTTP-date = wkday "," SP date-month-year SP time SP "GMT"

HTTP-Version = DIGIT "." DIGIT

HTTP-URL = "http://" Relay-Server-Name" ; section 2.2.1.1.2