MCPcopy Create free account
hub / github.com/Snapchat/Valdi / head

Method head

src/valdi_modules/src/valdi/valdi_http/src/HTTPClient.ts:82–84  ·  view source on GitHub ↗
(pathOrUrl: string, headers: StringMap<string> | undefined)

Source from the content-addressed store, hash-verified

80 pathOrUrl: string,
81 body?: ArrayBuffer | Uint8Array | undefined,
82 headers?: StringMap<string> | undefined,
83 ): CancelablePromise<HTTPResponse> {
84 return this.perform(pathOrUrl, HTTPMethod.POST, headers, body);
85 }
86
87 delete(pathOrUrl: string, headers: StringMap<string> | undefined): CancelablePromise<HTTPResponse> {

Callers

nothing calls this directly

Calls 1

performMethod · 0.95

Tested by

no test coverage detected