-
I'm new to Rust, so forgive me if this is obvious to more seasoned devs. This is also really a question on how to do things rather than a problem with Actix, so sorry if this is the wrong way to addre…
-
When sending a preflighted cross-origin request, the leading `OPTIONS` request is expected to have the `Access-Control-Request-Headers` header set.
The [specs](https://fetch.spec.whatwg.org/#http-r…
a-dma updated
5 years ago
-
NGINX, Tide, and other web platforms provide the ability to submit a request manually into the web service without any network overhead.
Tide, for instance, provides an `into_http_service` method o…
-
**Next steps:**
- [x] Remove `GET /answers-get`
-
This is not an issue, more like a question, but if it's not feasible then maybe it might become an issue...
I am wondering, is there a builtin-way in `actix_web` to handle errors when doing `App::…
ghost updated
5 years ago
-
version: actix-web = "1.0.0-beta.1"
Description:
I defined a middleware(extractor) implementing FromRequest with customized error type that implements ResponseError::error_response, which returns …
-
I'm trying to make a "remember me" system using `IdentityService` and `CookieIdentityPolicy`.
I need to change the `max_age` header conditionally on the request. So for example if I get a normal logi…
-
I have a middleware that loads the user information for the `Activist` (read "user") being logged in from the database. For that I use the diesel-example-style AppState with the DB-Actor in it. Now wi…
-
Hello, I am new to rust and actix-web, I'd like to define a custom Cors middleware but found the OPTIONS preflight request doesn't have the headers which should be added when pasing this middleware.
…
-
Hello, do we have the ability to add meta data to route (like: require_admin: true) I would like to implement a token check middleware, differents tokens have differents rights and abilities, differen…