pub fn handle_options(
request_headers: &HeaderMap,
cors_allow_credentials_origins: &[String],
) -> Result<Response<BoxBody>, Error>Expand description
OPTIONS request handler (CORS preflight). pub so apimock get
(RFC 055) can answer for an OPTIONS request through the exact same
function service calls, rather than reimplementing it.