1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-02 13:29:24 +00:00
Commit graph

59 commits

Author SHA1 Message Date
Rob Ede bcdde1d4ea
move actix-web to own dir 2022-02-01 00:30:41 +00:00
Ali MJ Al-Nasrawy c3ce33df05
unify generics across App, Scope and Resource (#2572)
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-01-05 15:02:28 +00:00
Rob Ede cd025f5c0b
allow any body type in Resource (#2526) 2021-12-22 15:00:32 +00:00
Rob Ede dd4a372613
allow error handler middleware to return different body type (#2515) 2021-12-14 21:17:50 +00:00
Rob Ede 11ee8ec3ab
align remaining header map terminology (#2510) 2021-12-13 16:08:08 +00:00
Rob Ede dade818eba
add middleware composition tests (#2375) 2021-08-31 04:18:54 +01:00
Arthur Le Moigne baa5a663c4
Select compression algorithm using features flags (#2250)
Add compress-* feature flags in actix-http / actix-web / awc.
This allow enable / disable not wanted compression algorithm.
2021-06-19 20:21:13 +01:00
Rob Ede 68117543ea
major cleanup of middleware module (#1875)
* major cleanup of middleware module

* update changelog
2021-01-05 09:51:58 +00:00
fakeshadow 4f5971d79e
add Compat middleware (#1865) 2021-01-05 00:22:57 +00:00
Damian Lesiuk a4546f02d2
make TrailingSlash enum accessible (#1673)
Co-authored-by: Damian Lesiuk <lesiuk@sabre.com>
2020-09-13 00:55:39 +01:00
Nikolay Kim 01613f334b Move BodyEncoding to dev module #1220 2019-12-16 17:22:26 +06:00
Nikolay Kim cb705317b8 compile with default-features off 2019-12-15 13:28:54 +06:00
Nikolay Kim 55698f2524 migrade rest of middlewares 2019-11-21 16:02:17 +06:00
Nikolay Kim 3127dd4db6 migrate actix-web to std::future 2019-11-21 16:02:17 +06:00
Nikolay Kim 60b7aebd0a fmt & clippy 2019-09-12 21:52:46 +06:00
κeen 8a9fcddb3c Condition middleware (#1075)
* add condition middleware

* write tests

* update changes

* Update src/middleware/condition.rs

Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>

* Update src/middleware/condition.rs

Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>

* Update src/middleware/condition.rs

Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>

* Update src/middleware/condition.rs

Co-Authored-By: Yuki Okushi <huyuumi.dev@gmail.com>
2019-09-09 12:26:38 +06:00
Nikolay Kim 546a8a58db remove cors and identity middlewares 2019-06-17 12:33:00 +06:00
Nikolay Kim d7ec241fd0 re-export identity and cors middleware 2019-06-15 21:47:06 +06:00
Nikolay Kim cd323f2ff1 Move cors middleware to actix-cors crate 2019-06-15 09:34:16 +06:00
Nikolay Kim ff724e239d move identity service separate crate 2019-06-12 15:52:48 +06:00
Nikolay Kim 891f857547 update changes 2019-04-20 11:18:04 -07:00
Douman 1e7f97a111 Add Normalization middleware for in place (#783) 2019-04-19 13:53:49 -07:00
Nikolay Kim 4f30fa9d46 Remove generic type for request payload, always use default 2019-04-13 14:50:54 -07:00
Nikolay Kim d846328f36 fork cookie crate 2019-03-29 21:13:39 -07:00
Nikolay Kim e254fe4f9c allow to override response body encoding 2019-03-27 11:29:31 -07:00
Nikolay Kim 2629699b62 rename flate2-c feature to flate2-zlib 2019-03-26 18:46:06 -07:00
Nikolay Kim 1904b01fc0 add content-encoding decompression 2019-03-26 15:14:32 -07:00
Nikolay Kim ede32c8b3f export errhandlers module 2019-03-24 11:32:30 -07:00
Nikolay Kim 307b2e5b0e fix compress features 2019-03-24 11:29:35 -07:00
Nikolay Kim 5b06f2bee5 port cors middleware 2019-03-23 21:29:16 -07:00
Nikolay Kim 60050307bd session feature is renamed to cookies 2019-03-23 11:18:31 -07:00
Nikolay Kim 4d96abb639 use actix_web::Error for middleware errors 2019-03-10 16:35:38 -07:00
Nikolay Kim 12f0c78091 port identity middleware 2019-03-09 20:40:09 -08:00
Nikolay Kim 244fff9e0a added Logger middleware 2019-03-06 19:19:27 -08:00
Nikolay Kim 03248028a9 update actix-service 2019-03-05 10:08:08 -08:00
Nikolay Kim b6fe1dacf2 update middleware impl 2019-03-04 21:42:51 -08:00
Nikolay Kim d5c54a1867 update extractor tests 2019-03-02 22:03:45 -08:00
Nikolay Kim 75fbb97480 update new transform trait 2019-03-02 13:57:00 -08:00
Nikolay Kim 2d7293aaf8 copy actix-web2 2019-03-01 22:51:32 -08:00
Nikolay Kim 6fd686ef98 cleanup warnings 2018-07-04 21:01:27 +06:00
Nikolay Kim fec6047ddc refactor HttpRequest mutability 2018-07-02 23:35:32 +06:00
Nikolay Kim 65ca563579 use read only self for Middleware 2018-06-21 23:06:23 +06:00
Josh Leeb-du Toit 9c9eb62031 Update Middleware trait to use &mut self 2018-06-02 16:47:18 +10:00
Nikolay Kim 32a2866449 Allow to override files listing renderer for #203 2018-05-02 15:53:07 -07:00
Nikolay Kim eefbe19651 remove deprecated types and methods 2018-04-29 21:05:10 -07:00
Nikolay Kim de49796fd1 clippy warnings; fmt 2018-04-28 22:55:47 -07:00
Nikolay Kim 48b02abee7 fmt 2018-04-18 20:16:29 -07:00
Nikolay Kim ce1081432b export session module 2018-04-18 20:11:49 -07:00
Nikolay Kim e9bdba57a0 Add identity service middleware 2018-04-18 19:05:24 -07:00
Nikolay Kim 113f5ad1a8 add rustfmt config 2018-04-13 16:02:01 -07:00