pub fn disable_preflight(mut self) -> Cors {
        if let Some(cors) = cors(&mut self.cors, &self.error) {
            cors.preflight = false
        }
        self
    }
/// Disable support for preflight requests.
///
/// When enabled CORS middleware automatically handles `OPTIONS` requests.
/// This is useful for application level middleware.
///
/// By default *preflight* support is enabled.
Disable support for preflight requests.
When enabled CORS middleware automatically handles `OPTIONS` requests.
This is useful for application level middleware.

By default *preflight* support is enabled.
Disable support for preflight requests . When enabled CORS middleware automatically handles ` OPTIONS ` requests . This is useful for application level middleware . By default * preflight * support is enabled .
pub fn disable_preflight(mut self) -> Cors {
        if let Some(cors) = cors(&mut self.cors, &self.error) {
            cors.preflight = false
        }
        self
    }
pub fn disable_preflight ( mut self ) -> Cors { if let Some ( cors ) = cors ( & mut self . cors , & self . error ) { cors . preflight = false } self }
Disable support for preflight requests.
Disable support for preflight requests .
mut self
mut self