Clean up after isahc_http_client
introduction (#18045)
This PR does some clean up after #15446. Release Notes: - N/A
This commit is contained in:
parent
a62e8f6396
commit
2cd9a88f53
6 changed files with 9 additions and 9 deletions
|
@ -956,7 +956,6 @@ impl Server {
|
|||
|
||||
tracing::info!("connection opened");
|
||||
|
||||
|
||||
let user_agent = format!("Zed Server/{}", env!("CARGO_PKG_VERSION"));
|
||||
let http_client = match IsahcHttpClient::builder().default_header("User-Agent", user_agent).build() {
|
||||
Ok(http_client) => Arc::new(IsahcHttpClient::from(http_client)),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue