Answer the question
In order to leave comments, you need to log in
Why are HTTP headers so primitive?
Hello!
Answer the question
In order to leave comments, you need to log in
Both Apache and Nginx store the headers in a hash table during the formation of the http response. A hash table, as everyone knows, is a data structure with a high speed of access to elements, which guarantees the uniqueness of the keys, but not the order in which they appear. Hence the conclusion: to ensure that no one wants the order of headers, it would be necessary to slow down the work of http servers and complicate the work of their developers.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question