I see that I can change what headers will be sent by modifying request.headers from a middleware, but can I change their order? I cannot do with the default implementation of the request.headers since it is based on an unordered dictionary.
            Asked
            
        
        
            Active
            
        
            Viewed 395 times
        
    3
            
            
        - 
                    What's the goal though? – Rafael Almeida May 11 '16 at 21:57
 - 
                    please check this [answer](http://stackoverflow.com/a/750338/858913) as it explains order really doesn't matter for requests, unless you are sending multiple headers with the same name, is that the case? – eLRuLL May 11 '16 at 23:06
 - 
                    1Thanks. This is needed to bypass one of the techniques for bot detection via browser fingerprinting when the order of HTTP headers is used to identify the requester. – evgenyp May 12 '16 at 09:58
 - 
                    Any update on this? – Glenn Vandamme Mar 19 '18 at 11:09