I have a jQuery Ajax call, like so:
$(\"#tags\").keyup(function(event) { $.ajax({url: \"/terms\", type: \"POST\", contentType: \"ap
The default request_handler is WSGIRequestHandler.
Before app.run(), Add one line, WSGIRequestHandler.protocol_version = "HTTP/1.1"
app.run()
WSGIRequestHandler.protocol_version = "HTTP/1.1"
Don't forget from werkzeug.serving import WSGIRequestHandler.
from werkzeug.serving import WSGIRequestHandler