def POST(self): """Convert video""" results = self.dispatch() if not results: raise_404(self, 'No results!') result = results[0] # will get **really** big: contains binary payloads # TODO: strip this payload to show it for informational purposes #logger.info('dispatching control data:\n%s' % pformat(result)) self.type = result['content_type'] self.charset = None self.response.body = result['body'] #self.response.body_raw = retval self.response.headers.update(result['headers'])
def GET(self): wsgiservice.raise_404(self)