-
The actix-web is getting close to 1.0.0 release and it had a major rework and made it way easier to use.
We'd like to adopt your crate for one of our services we are doing. Would you be willing to …
-
```
actix_web::App::new()
.wrap(actix_web::middleware::Compress::default())
.wrap(actix_web::middleware::NormalizePath::default())
```
Results in the following output
``…
-
When using the json post examples, misformed json returns no errors:
```
actix-examples/json I0> curl --header "Content-Type: application/json" --request POST --data '{ "invalid": "data" }' http:…
-
When attempting to serialize a custom error to json as part of the `ResponseError` implementation, actix-web obliterates the body I provided in favor of the `fmt::Display` implementation for the same …
-
I want put the Factory parameter of `App::new()` into my single file: router.rs, how to declare the return type? Thanks..
```rust
HttpServer::new(move || {
App::new()
...
)
```
…
-
This might have something to do with how serde tries type promotion and handles failures, but I thought it was worth reporting here first, at least because it's the actix_web::pipeline that creates th…
lee-b updated
5 years ago
-
Hello, can we put more examples on middleware section for actix-web 1.0.0?
I am currently trying to implement a flash middleware and an auth check middleware that guard specific routes.
Looking …
-
Hello!
I'm trying to use the middleware you've provided in a crate to implement OAuth2, and I've come to the realization I need access to the `ServiceRequest` in my `validator_fn` in order to set a…
-
mirakcをversion 0.4.0に入れ替えたところ、当方の環境の場合、地上波,BS,CSの番組問わず、EPGStationからライブ視聴開始、約5秒再生された後(画面操作なし)に再生が停止してしまいます。
録画、録画済み再生は問題なく動作しています。
※アップデート前は地上波,BSのライブ視聴は問題なく、CSが一部番組(サッカーの試合)の場合はライブ視聴のみ途切れ途切れ再生されると…
-
Accessing shared state in handlers is demonstrated in https://github.com/actix/examples/blob/815e34f32ded77f73145fb0373a060b22636f689/state/src/main.rs
And with the way middleware worked previously…
ctsrc updated
5 years ago