diff --git a/trunk/src/protocol/srs_http_stack.hpp b/trunk/src/protocol/srs_http_stack.hpp index f62dcb2c7..a59b26230 100644 --- a/trunk/src/protocol/srs_http_stack.hpp +++ b/trunk/src/protocol/srs_http_stack.hpp @@ -108,6 +108,11 @@ enum SrsHttpParseState { class SrsHttpHeader { private: + // The order in which header fields with differing field names are + // received is not significant. However, it is "good practice" to send + // general-header fields first, followed by request-header or response- + // header fields, and ending with the entity-header fields. + // @doc https://tools.ietf.org/html/rfc2616#section-4.2 std::map headers; public: SrsHttpHeader();