Update page 'Day 8 - homework - Sloejtes'
@@ -1,3 +1,4 @@
|
||||
**The original scenario using `httpserver.py`:**
|
||||

|
||||
|
||||
**An example of replacing the `httpserver.py` file with `Gunicorn`:
|
||||
@@ -48,4 +49,5 @@ if __name__ == '__main__':
|
||||
app = DispatcherMiddleware(JPEGRequestHandler(app), {'/': app})
|
||||
run_simple('0.0.0.0', 8000, app, use_reloader=True)
|
||||
```
|
||||
**The performance under Gunicorn:**
|
||||

|
||||
Reference in New Issue
Block a user