add a flag to reply with a partial file without sending range headers

This is useful when we want to send part of a file to the client without
actually sending a range response, for example because the client does not
support it.
an uri does not need a host to encode its path