parameters: (filename, content)
return_statement: return response
docstring: render file response
          :param filename:
          :param content:
          :return: response in response type
docstring_summary: render file response
          :param filename:
          :param content:
          :return: response in response type
docstring_tokens: render file response : param filename : : param content : : return : response in response type
function: def render_file(filename, content):
          """
          render file response
          :param filename:
          :param content:
          :return: response in response type
          """
          content = content
          response = make_response(content)
          response.headers['Content-Disposition'] = 'attachment; filename=%s' % filename
          response.headers['Content-Type'] = 'text/plain'
  
          return response
function_tokens: def render_file ( filename , content ) : content = content response = make_response ( content ) response . headers [ 'Content-Disposition' ] = 'attachment; filename=%s' % filename response . headers [ 'Content-Type' ] = 'text/plain' return response