Sets the content headers on the response.

def set_headers(self):
        """
        Sets the content headers on the response.
        """
        self.set_header("Accept-Ranges", "bytes")

        content_type = self.get_content_type()
        if content_type:
            self.set_header("Content-Type", content_type)