def get_restore_http_response(self): """ Returns restore XML as a streaming http response """ payload = self._get_restore_xml() headers = { 'Content-Length': self.content_length, 'Content-Type': 'text/xml' } return stream_response(payload, headers)
def get_restore_http_response(self): """ Returns restore XML as a streaming http response """ payload = self._get_restore_xml() headers = { 'Content-Length': self.content_length, 'Content-Type': 'text/xml' } return stream_response(payload, headers)