Fixes issue #276: support range request for sending content as a file.