From the official documentation:
Werkzeug is a WSGI utility library for Python.
However, when I run my Flask web application, I notice that the response header from the server contains:
HTTP/1.0 200 OK
Content-Type: text/html; charset=utf-8
Content-Length: 13
Server: Werkzeug/0.11.9 Python/2.7.10
Date: Tue, 03 May 2016 12:50:08 GMT
On the fourth line the server is mentioning a Werkzeug
, but what exactly is Werkzeug
, is it a web server like Apache
?
No, it is not a web server like Apache. It's a CGI library. Since Apache (or your Flask application) is probably using the library to serve some HTTP requests, it probably adds that header into the response.