Rob Ede
b694c9317a
mark Cors builder as must_use
2024-01-04 03:42:10 +00:00
Rob Ede
471f07e27f
improve actix-cors docs
2023-11-03 19:44:12 +00:00
Rob Ede
8a31f3020e
revert local-network change
...
see https://github.com/actix/actix-extras/pull/320#issuecomment-1501189129
2023-04-09 19:56:43 +01:00
Rob Ede
f37c93a2a8
migrate to doc_auto_cfg
2023-04-09 19:41:57 +01:00
Rob Ede
111d95eaea
rename private-network-access feature ( #320 )
...
* update CI with concurrency options
* cors: rename private-network => local-network
* modernize CI
* clippy
* run api diff job on all features
2023-04-09 19:35:30 +01:00
Rob Ede
ac444ca798
add support for private network access cors header ( #297 )
...
closes #294
2022-10-28 23:44:21 +01:00
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
Marko Malenic
d98ebf2bdf
Update Cors function documentation to match behaviour ( #289 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2022-09-21 09:15:54 +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
a1d0f051b7
fix typo
2022-03-04 17:39:32 +00:00
Rob Ede
73a5ae98b6
update actix-web dependency to 4.0
2022-02-25 23:05:11 +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
6676a50944
actix-web beta 15 updates ( #216 )
2021-12-18 03:37:23 +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
ec66754c0d
standardize crate level lints
2021-12-08 06:11:13 +00:00
Rob Ede
45643d4035
fix cors expose_any_header behavior ( #204 )
2021-10-21 15:47:56 +01:00
Ali MJ Al-Nasrawy
50621bae71
cors: make middleware generic over body type ( #195 )
2021-09-13 11:00:58 +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
Andrey Kutejko
ca85f6b245
Update dependencies (Tokio 1.0) ( #144 )
2021-03-21 22:50:26 +00:00
Rob Ede
d77c908567
update Cors::allow_origin_fn docs
2021-01-03 22:35:52 +00:00
Julian Tescher
cf970ee091
Fix expose_any_header setter ( #143 )
2020-12-31 21:13:36 +09: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