(path: string)
| 39 | return await this.handler(req, STUB); |
| 40 | } |
| 41 | async delete(path: string): Promise<Response> { |
| 42 | const url = this.toUrl(path); |
| 43 | const req = new Request(url, { method: "delete" }); |
| 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" }); |