diff --git a/middle-server/tencent-cloud-server/src/task_trait/header_fetch.rs b/middle-server/tencent-cloud-server/src/task_trait/header_fetch.rs index 69d41574..12dca2c2 100644 --- a/middle-server/tencent-cloud-server/src/task_trait/header_fetch.rs +++ b/middle-server/tencent-cloud-server/src/task_trait/header_fetch.rs @@ -67,7 +67,7 @@ impl HeaderFetch for TcAction { fn fetch_header( &self, _: &T, _: &Url, ) -> Result { - HeaderValue::from_str(&T::ACTION) + HeaderValue::from_str(T::ACTION) } }