1
0
mirror of https://github.com/actix/actix-extras.git synced 2025-06-26 10:27:42 +02:00

allow OPTIONS requests without request-method header (#226)

This commit is contained in:
Rob Ede
2022-03-07 15:32:07 +00:00
committed by GitHub
parent 0ba1073cb2
commit 6fbe2eab94
5 changed files with 55 additions and 30 deletions

View File

@ -1,5 +1,5 @@
use actix_service::fn_service;
use actix_utils::future::ok;
use actix_web::dev::fn_service;
use actix_web::{
dev::{ServiceRequest, Transform},
http::{