This commit is contained in:
2018-10-11 11:37:05 -04:00
parent f4cfe5639a
commit fac80383d9
+1 -1
View File
@@ -21,7 +21,7 @@ if __name__ == '__main__':
api.run()
```
This gets you a WSGI app, with WhiteNoise pre-installed, jinja2 templating (without additional imports), and a production webserver, serving up requests with gzip compression automatically.
This gets you a WSGI app, with WhiteNoise pre-installed, jinja2 templating (without additional imports), and a production webserver (ready for slowloris attacks), serving up requests with gzip compression automatically.
Class-based views: