This is an archive of the discontinued Mercurial Phabricator instance.

statichttprepo: move HTTPRangeHandler from byterange and delete the latter
ClosedPublic

Authored by durin42 on Feb 26 2018, 12:16 AM.

Details

Summary

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.

  1. no-check-commit because we're moving code that has to have foo_bar naming.

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.

Event Timeline

durin42 created this revision.Feb 26 2018, 12:16 AM
This revision was automatically updated to reflect the committed changes.