(path: string)
| 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" }); |