Mercurial > hg
diff mercurial/parser.py @ 36425:24c2c760c1cb
statichttprepo: move HTTPRangeHandler from byterange and delete the latter
It turns out we've been toting around 472 lines of Python just for
this 20-ish line class that teaches urllib how to handle '206 Partial
Content'. byterange.py showed up in my \sstr\( Python 3 dragnet, and
found itself having overstayed its welcome in our codebase.
# no-check-commit because we're moving code that has to have foo_bar naming.
Differential Revision: https://phab.mercurial-scm.org/D2443
author | Augie Fackler <augie@google.com> |
---|---|
date | Sun, 25 Feb 2018 23:34:58 -0500 |
parents | a8994d08e4a2 |
children | 7840d8bd0558 |