2.2.6 RTSP Header Fields

RTSP Windows Media Extensions defines several new headers that do not exist in RTSP, as specified in [RFC2326] section 12. Some headers specified in [RFC2326] section 12 are further restrained by RTSP Windows Media Extensions in how they can be used. The new headers and the modified existing ones are defined in this section.

Unless otherwise specified, the headers specified in RTSP Windows Media Extensions, and any tokens (also called tags or directives) used on those headers, are defined for use in both requests and responses.

If a client or server receives an RTSP header that is not defined in this section, or if the header is not defined in the current context; for example, receiving a request-only header in a response; the header MUST be interpreted as specified in [RFC2326] section 12. If a particular header is not specified in [RFC2326] section 12, it MUST be interpreted as specified in [RFC2616] section 14.

If a client or server receives an RTSP header that is defined in this section, and the header contains an unknown token, or if the token is not defined in the current context (for example, receiving a request-only token in a response), the token MUST be ignored.

This section defines the syntax of RTSP headers by using ABNF. Any ABNF syntax rules not specified in [RFC5234] use the ABNF extensions specified in [RFC2326] section 15.