1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-28 01:32:57 +01:00
Commit Graph

22 Commits

Author SHA1 Message Date
CapableWeb
3b5682c860
Add block_on_origin_mismatch option to middleware (#287)
Co-authored-by: CapableWeb <capableweb@domain.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-09-21 23:22:20 +00:00
Rob Ede
7c3c9357e0
fix expose all headers (#273)
* fix expose all headers

* update changelog
2022-08-07 20:56:33 +01:00
Rob Ede
b748e7e3a7
conditionally add vary header to errors 2022-03-07 16:52:25 +00:00
Rob Ede
6fbe2eab94
allow OPTIONS requests without request-method header (#226) 2022-03-07 15:32:07 +00:00
Rob Ede
695800c9bd
add vary header to all handled responses (#224) 2022-02-07 16:34:01 +00:00
Rob Ede
ab3615b8d5
relax body bounds (#223) 2022-02-07 02:30:26 +00:00
Rob Ede
323d01fcca
bump actix-web to 4.0.0-rc.1 2022-02-03 22:33:47 +00:00
Rob Ede
6d6b045b3a
add access-control-request-* headers to vary response header 2022-01-01 23:05:29 +00:00
Rob Ede
6676a50944
actix-web beta 15 updates (#216) 2021-12-18 03:37:23 +00:00
Rob Ede
0805f2b1c6
stop cloning request across service call (#213) 2021-12-13 02:49:27 +00:00
Rob Ede
74ec115161
migrate to actix-web beta 14 (#209) 2021-12-11 16:05:21 +00:00
Rob Ede
56051786a6
standardize future types to ones from actix_utils 2021-12-08 07:29:12 +00:00
Rob Ede
13f8dcb717
update to aw beta 9 2021-11-22 23:11:58 +00:00
Rob Ede
45643d4035
fix cors expose_any_header behavior (#204) 2021-10-21 15:47:56 +01:00
Rob Ede
e10937103e
fmt with new width 2021-08-30 23:27:44 +01:00
Rob Ede
20ef05c36e
fix doctest ci (#188) 2021-06-27 07:02:38 +01:00
Rob Ede
2254a429d4
use forward_ready for service definitions 2021-03-22 05:18:59 +00:00
Andrey Kutejko
ca85f6b245
Update dependencies (Tokio 1.0) (#144) 2021-03-21 22:50:26 +00:00
Rob Ede
f20b724830
cors origin validator function receives origin as first parameter (#120) 2020-10-19 19:30:46 +01:00
Rob Ede
6084c47810
CORS builder rework (#119) 2020-10-19 05:51:31 +01:00
Luca Bruno
c8e641d4b6
cors: hide service struct from docs (#118)
This hides `CorsMiddleware` from rustdocs, following the pattern of
the rest of `actix_web::middleware` implementations.
2020-10-17 07:01:30 +09:00
Rob Ede
134e43ab5e
split up cors lib and fix doc links (#113)
* split up cors lib and fix doc links

* clippy
2020-10-08 11:50:56 +01:00