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
1561bda822
apply imports_granularity fmt rule
2022-09-11 21:55:40 +01:00
Rob Ede
7c3c9357e0
fix expose all headers ( #273 )
...
* fix expose all headers
* update changelog
2022-08-07 20:56:33 +01:00
Luca Palmieri
8fd1772d5e
Consistent import formatting ( #237 )
2022-03-29 11:46:13 +01: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
323d01fcca
bump actix-web to 4.0.0-rc.1
2022-02-03 22:33:47 +00:00
Rob Ede
1fec026dc7
fix cors tests
2022-01-01 23:07: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
45643d4035
fix cors expose_any_header behavior ( #204 )
2021-10-21 15:47:56 +01:00
Andrey Kutejko
ca85f6b245
Update dependencies (Tokio 1.0) ( #144 )
2021-03-21 22:50:26 +00:00
Guarabot
0b2eff9384
Fix allow_any_header setter ( #121 )
2020-11-05 18:38:27 +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
eupn
06f17ec223
Panic on wildcard in Cors builder's allowed_origin() ( #114 )
...
* Assert allowed origin in Cors builder
* Add panic test for wildcard
* Add changelog entry
* rustfmt
* Apply suggestions from code review
Co-authored-by: Rob Ede <robjtede@icloud.com>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2020-10-10 14:25:33 +01: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