Skip to content

Instantly share code, notes, and snippets.

@eurycea
Last active August 29, 2015 14:20
Show Gist options
  • Save eurycea/6689ce3076aaf593014e to your computer and use it in GitHub Desktop.
Save eurycea/6689ce3076aaf593014e to your computer and use it in GitHub Desktop.
empty response body debugging
from flask import Flask
app = Flask(__name__)
@app.route("/", methods=['POST'])
def nobody():
return ""
if __name__ == "__main__":
app.run(host='0.0.0.0')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment