Not a bug, just an improvement.
HTTP headers are returned unordered (they are held in a simple dict). Simple
patch to make headers be returned in the same order as they are in the request.
This is helpful for the very particular use case to fingerprint certain
browsers.
This does have some drawbacks, since OrderedDicts are python 2.7 and above
only. Backwards compatibility can be achieved using ordereddict, but it
introduces an extra dependency.
Original issue reported on code.google.com by alex...@gmail.com on 28 Mar 2015 at 8:11
Original issue reported on code.google.com by
alex...@gmail.com
on 28 Mar 2015 at 8:11Attachments: