diff --git a/proxmox-http/src/client/connector.rs b/proxmox-http/src/client/connector.rs index d6ba9dd2..f3e7535a 100644 --- a/proxmox-http/src/client/connector.rs +++ b/proxmox-http/src/client/connector.rs @@ -184,8 +184,8 @@ impl hyper::service::Service for HttpsConnector { if let Some(authorization) = authorization { let _ = write!( connect_request, - "Proxy-Authorization: {}\r\n", - authorization + "Proxy-Authorization: Basic {}\r\n", + base64::encode(authorization) ); } let _ = write!(connect_request, "Host: {0}:{1}\r\n\r\n", host, port);