-
You can use sessions like this with poem: https://github.com/poem-web/poem/blob/master/examples/poem/auth/src/main.rs.
But how do you attach data to requests (`Data` used in poem) or use sessions in …
-
I've managed to successfully install a TLS certificate on the server so now the server is secure and using HTTPS, whenever I type the domain or IP on my browser, it automatically goes to the HTTP vers…
rtkpX updated
2 years ago
-
Casbin has a tradition to make authz middlewares for web frameworks of that language (see: https://github.com/casbin/casbin-rs/issues/93). We need to make some middlewares for the most popular C/C++ w…
-
Hi,
I would like to use a custom handler or a logger in the same impl, but i've this error:
```
44 | server.utilize(self.logger);
| ^^^^^^ help: use parent…
-
When I see some of the topics here and elsewhere about building languages for rust, most of it become talks about performance, deals with quirks of platforms, GC, and other matters that could obscure…
mamcx updated
4 years ago
-
### What would you like to share?
#### Work Expected From The Issue
Replace the deprecated function `per_second` with `seconds_per_request` of the rate-limiting middleware code.
The issue expec…
-
Hi,
I'm trying to prevent access to resources on a website (from any other not supposed to) by using CORS on Nginx. I did setup a reverse proxy to direct tiles requests to Martin (localhost:3000). …
-
Hello, I had a few questions about the system.
1. Can we add HTML template support like Tera?
2. Is there a cookie-based session?
3. What method should we follow to send an e-mail?
5. Ca…
-
## Expected Behavior
I propose to change some behaviour on the `SessionMiddleware` to allow developers to use an Opaque Token instead of a cookie to manage session identification for the Redis ba…
-
### Issue Summary
Lemmy doesn't appear to accept Undo activities with links as `object`.
Example object from lotide:
```
{
"actor": "http://ltthostname.local:3334/apub/users/3",
"object"…