Top "Werkzeug" questions

Werkzeug is a WSGI utility library for Python.

How to make Flask/ keep Ajax HTTP connection alive?

I have a jQuery Ajax call, like so: $("#tags").keyup(function(event) { $.ajax({url: "/terms", type: "POST", contentType: "application/json", …

ajax flask keep-alive werkzeug
How do I safely get the user's real IP address in Flask (using mod_wsgi)?

I have a flask app setup on mod_wsgi/Apache and need to log the IP Address of the user. …

python flask werkzeug
When I do Flask run, it shows error : ModuleNotFoundError: No module named 'werkzeug.contrib'. Can anyone help me with this?

the exact error I get is : flask.cli.NoAppException: While importing "application", an ImportError was raised:Traceback (most recent call …

python flask werkzeug flask-session
Flask/Werkzeug, how to return previous page after login

I am using the Flask micro-framework which is based on Werkzeug, which uses Python. Before each restricted page there is …

python login flask werkzeug
Flask werkzeug request.authorization is none but Authorization headers present

I am POSTing some JSON data and adding an Authorization header. However, the request object does not have the correct …

flask werkzeug
What is going on when I set app.wsgi_app = ProxyFix(app.wsgi_app) when running a Flask app on gunicorn?

I built a basic web app using Flask, and was able to run it from a virtual machine using its …

python flask wsgi gunicorn werkzeug
How to return a relative URI Location header with Flask?

Flask replaces the content of my Location header when building my HTTP response. It change my actual relative URI Location …

python flask werkzeug
Running Flask dev server in Python 3.6 raises ImportError for SocketServer and ForkingMixIn

I am trying to run a basic Flask app using Python 3.6. However, I get an ImportError: cannot import name 'ForkingMixIn'. …

python flask werkzeug python-3.6
Werkzeug AttributeError: 'module' object has no attribute 'InteractiveInterpreter'

Using Flask (0.8) and Werkzeug (0.8.1) when attempting to run code with app.run(debug=True) I get the below described error. …

python flask werkzeug
Flask - 'NoneType' object is not callable

I am working on my first Flask application. Taking some code directly out of this, I am trying to make …

python flask werkzeug