#3078·reqwest

支持 https_only 请求

作者: elichai创建于 2026年7月31日更新于 2026年8月5日

目前 `https_only` 是在构建 `Client` 时设置的,这意味着如果您有动态的运行时配置,则需要每次重新构建 `Client`,或者保留 2 个 `Client` 并根据需要选择其中一个。如果 `RequestBuilder` 具有该配置,则可以根据请求选择,而不仅仅是根据 `Client`。

内容来源: seanmonstar/reqwest