-
Hello
I have a question about the identity middleware and `CookieIdentityPolicy`.
let's say I manage my session cookies with
```rust
CookieIdentityPolicy::new(private_key).name("my_cookie_name…
ghost updated
5 years ago
-
I'm rewriting a python/flask web server into rust/actix, and running into one issue: some of the clients send invalid `Content-Encoding` headers.
Specifically, an application I wrote incorrectly se…
-
With the `HttpRequest` refactor, I can no longer figure out a way to modify the request headers inside a middleware. This is necessary as I am using `actix-web` as a proxy.
I understand that `HttpR…
-
I just updated actix-web from 0.3.3 to 0.6.3 and I got this error:
main.rs:125 is an await!() from futures-await.
```
hread 'arbiter:"5abb53d1-5de5-4c7d-833e-443d95e91324":"actor"' panicked at …
-
Since `StaticFile` must be registered with `App::handler()` it seems impossible to make it work with the full featured CORS middleware (by "full featured" I mean the one that handle the 'OPTION' prefl…
-
Direct access to http://127.0.0.1:8080 can cause a thread to crash without routing being set
![2018-08-07 19-22-47](https://user-images.githubusercontent.com/6460323/43773503-80728fc6-9a78-11e8-8a06-…
-
I have compiled https://github.com/actix/examples/blob/master/multipart/src/main.rs as is (without any changes) and issues:
```
$ time curl localhost:8080 -F upload=@src/main.rs
[3380]
real 0m1.…
-
Hi!
i'd like to use a map in actixweb.
What's the best and current method to use an evmap as a global?
Thanks!
-
## Background
In #1378 we attempted to switch our web server from `civet` to `hyper`. Once this was deployed, it was discovered that `cargo` API requests were in the form of `https://crates.io//ap…
-
The following code runs with some errors, can anyone tell me how to modify it, or provide some examples?
```
//read json
req.json().from_err()
.and_then(|val: UserCreate| {
…