RangeHTTPServer seems to support python3: there is a try-except clause to manage the different import of SimpleHTTPServer:
https://github.com/danvk/RangeHTTPServer/blob/master/RangeHTTPServer/__main__.py#L13
The code is under Apache 2.0 licence. I don't know if it can be integrated in codebase under the PSF licence.
Another question needs to be answered previously: does the maintainers want to add such feature to SimpleHTTPServer (which goal is to be very basic)? They could prefer to add a header refusing the Range header:
Accept-Ranges: none
https://tools.ietf.org/id/draft-ietf-httpbis-p5-range-09.html#header.accept-ranges |