This commit is contained in:
2018-10-12 13:28:07 -04:00
parent bfc6778dca
commit 79fcc1ce40
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ if __name__ == '__main__':
api.run()
```
This gets you a ASGI app, with a production static files server pre-installed, jinja2 templating (without additional imports), and a production webserver (ready for slowloris attacks), serving up requests with gzip compression automatically.
This gets you a ASGI app, with a production static files server pre-installed, jinja2 templating (without additional imports), and a production webserver based on uvloop, serving up requests with gzip compression automatically.
Class-based views (and setting some headers and stuff):
+1 -1
View File
@@ -41,7 +41,7 @@ But will it blend?
api.run()
This gets you a ASGI app, with a production static file-server pre-installed, jinja2 templating (without additional imports), and a production webserver (ready for slowloris attacks), serving up requests with gzip compression automatically.
This gets you a ASGI app, with a production static file-server pre-installed, jinja2 templating (without additional imports), and a production webserver based on uvloop, serving up requests with gzip compression automatically.
-------------