(
url: string,
options: Omit<HttpRequestOptions, 'method'> = {}
)
| 167 | * HEAD 请求 |
| 168 | */ |
| 169 | export function httpHead( |
| 170 | url: string, |
| 171 | options: Omit<HttpRequestOptions, 'method'> = {} |
| 172 | ): Promise<HttpResponse> { |
| 173 | return httpRequest(url, { ...options, method: 'HEAD' }) |
| 174 | } |
no test coverage detected