# http_client: Remove unused \`HttpClient::type_name\` method \(\#42803\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/9bebf314e001a6d462d4787245705cf7ecec29f0)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 9bebf314e001a6d462d4787245705cf7ecec29f0

Requested commit: 9bebf314e001a6d462d4787245705cf7ecec29f0

Commit: 9bebf314e001a6d462d4787245705cf7ecec29f0

Tree: 48a2a70f3074a0f2fb48f19fdc96d7c6b53d0330

Author: tidely

Committer: GitHub

## Message

```
http_client: Remove unused `HttpClient::type_name` method (#42803)

Closes #ISSUE

Remove unused method `HttpClient::type_name`. Looking at the PR from a
year ago when it was added, it was never actually used for anything and
seems like a prototyping artifact.

Other misc changes for the `http_client` crate include:

- Use `derive_more::Deref` for `HttpClientWithUrl` (already used for
`HttpClientWithProxy`)
- Move `http_client::proxy()` higher up in the trait definition. (It was
in between methods that have default implementations)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
```

## Parents

- [4092e81ada231a6dbe0d0f5324a83816c30069d9](https://git.cafe/gitcafe/zed/commit/4092e81ada231a6dbe0d0f5324a83816c30069d9?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/9bebf314e001a6d462d4787245705cf7ecec29f0?format=markdown)
