hgweb: parse and store HTTP request headers
ClosedPublic

Authored by indygreg on Mar 8 2018, 8:06 PM.

Details

Summary

WSGI transmits HTTP request headers as HTTP_* environment variables.
We teach our parser about these and hook up a dict-like data
structure that supports case insensitive header manipulation.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
indygreg created this revision.Mar 8 2018, 8:06 PM
durin42 accepted this revision.Mar 9 2018, 2:25 PM
This revision is now accepted and ready to land.Mar 9 2018, 2:25 PM
This revision was automatically updated to reflect the committed changes.