MCPcopy
hub / github.com/freshframework/fresh / head

Method head

packages/fresh/src/test_utils.ts:46–50  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

44 return await this.handler(req, STUB);
45 }
46 async head(path: string): Promise<Response> {
47 const url = this.toUrl(path);
48 const req = new Request(url, { method: "head" });
49 return await this.handler(req, STUB);
50 }
51 async options(path: string): Promise<Response> {
52 const url = this.toUrl(path);
53 const req = new Request(url, { method: "options" });

Callers

nothing calls this directly

Calls 2

toUrlMethod · 0.95
handlerMethod · 0.80

Tested by

no test coverage detected