Frank Elsinga
695369f02f
feat: added PartialEq to Cors ( #486 )
...
* added PartialEq to Cors
* added a changelog entry
* re-ran rustfmt
* removed a subtle bug in the new testcase
* removed a not so subtle bug in the new testcase
* ci: rm public-api-diff job
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
2025-01-13 23:22:00 +00:00
Rob Ede
a5f5e31a82
chore: remove redundant imports
2024-02-19 16:18:17 +00:00
Rob Ede
d55fc6d7f5
fix!(cors): default block_on_origin_mismatch to false ( #379 )
2024-01-06 20:40:44 +00:00
yhx-12243
2f30fd71a9
fix(cors): The item in "Vary" header should be "Access-Control-Request-Private-Network". ( #369 )
...
* fix(cors): vary should be "Access-Control-Request-Private-Network"
* docs(cors): update the changelog
2023-12-06 13:52:22 +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
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
Rob Ede
1561bda822
apply imports_granularity fmt rule
2022-09-11 21:55:40 +01:00
Rob Ede
cfd16c5478
clippy
2022-07-21 22:20:48 +01:00
Rob Ede
6fbe2eab94
allow OPTIONS requests without request-method header ( #226 )
2022-03-07 15:32:07 +00:00
Rob Ede
73a5ae98b6
update actix-web dependency to 4.0
2022-02-25 23:05:11 +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
74ec115161
migrate to actix-web beta 14 ( #209 )
2021-12-11 16:05:21 +00: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
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
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