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