#3797·actix-web

将 `HttpRequest::content_type` 改为返回 `Option<&str>`

作者: Freyja-moth创建于 2025年10月9日更新于 2026年9月7日

实际上没有必要返回一个空的 &str,而 `Option<&str>` 更符合语法。

内容来源: actix/actix-web