@staticmethod
def _http_range(start=0, end=0):
    """
        Returns an HTTP Range request for a specified python range.

        Args:
            start (int): Start of the range.
            end (int): End of the range.
                0 To not specify end.

        Returns:
            str: range.
        """
    if end:
        return 'bytes=%d-%d' % (start, end - 1)
    return 'bytes=%d-' % start
