MCPcopy Create free account
hub / github.com/ZToolsCenter/ZTools / httpHead

Function httpHead

src/main/utils/httpRequest.ts:169–174  ·  view source on GitHub ↗
(
  url: string,
  options: Omit<HttpRequestOptions, 'method'> = {}
)

Source from the content-addressed store, hash-verified

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

Callers 1

getLanzouDownloadLinkFunction · 0.90

Calls 1

httpRequestFunction · 0.85

Tested by

no test coverage detected