Skip to content

Instantly share code, notes, and snippets.

@coolgarifTech
Created May 29, 2013 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save coolgarifTech/5671018 to your computer and use it in GitHub Desktop.
Save coolgarifTech/5671018 to your computer and use it in GitHub Desktop.
Creating the final Flask response
callbackWrapper = callbackArguments + "(" + result + ")"
resp = Response(callbackWrapper, status = 200, mimetype = 'application/json')
return resp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment