Homec4science

WebStyle: fix POST requests to WSGI legacy app

Authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch> on Feb 22 2013, 10:17.

Description

WebStyle: fix POST requests to WSGI legacy app

  • Fixed issue where POST requests to a WSGI legacy app would result in an 405 Method Not Allowed error.
  • Added new config option CFG_FLASK_SERVE_STATIC_FILES to enable/disable static file serving directly from Flask. This is useful when using the Werkzeug standalone development server.

Reviewed-by: Jiri Kuncar <jiri.kuncar@cern.ch>

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Feb 26 2013, 16:24
Parents
R3600:4df1c94bd9cc: WebStyle: option to disable loading of blueprints
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:8d48b9b9e9a7: WebStyle: fix POST requests to WSGI legacy app (authored by Lars Holm Nielsen <lars.holm.nielsen@cern.ch>).Feb 26 2013, 16:24