mirror of
https://github.com/kennethreitz/responder.git
synced 2026-06-05 23:00:17 +00:00
uvloop
This commit is contained in:
@@ -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):
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
-------------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user