I'm new to Rust.
I'm using axum as router.
Is there a way to avoid the double unwrap() in the below code?
let cookies = req
.headers()
.get("Cookie")
.map(|c| c.to_str().unwrap_or(""))
.unwrap_or("");
I need cookies as String or &str or empty string if no cookies are present.