Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
patx committed Jan 20, 2025
1 parent babb9d7 commit eb3f55c
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,16 +138,7 @@ class MyApp(Server):
return f"Registered {username} with email {email}"
```

### 4. **Session Cleanup**
Sessions expire after 8 hours but can be manually cleaned:

```python
class MyApp(Server):
def cleanup_sessions(self):
super().cleanup_sessions()
```

### 5. **WSGI Support**
### 4. **WSGI Support**
MicroPie includes built-in WSGI support via the wsgi_app() method, allowing you to deploy your applications with WSGI-compatible servers like Gunicorn.

#### **Example**
Expand Down Expand Up @@ -201,7 +192,7 @@ Validates incoming requests for both GET and POST methods based on query and bod
WSGI-compliant method for parsing requests and returning responses. Ideal for production deployment using WSGI servers.

## **Examples**
Check out the [See the examples folder!](https://github.com/patx/micropie/tree/main/examples) for more advanced usage, including template rendering, session usage, and form handling.
Check out the [examples folder](https://github.com/patx/micropie/tree/main/examples) for more advanced usage, including template rendering, session usage, websockets and form handling.

## **Feature Comparison: MicroPie, Flask, CherryPy, and Bottle**

Expand Down

0 comments on commit eb3f55c

Please sign in to comment.