( title: string, body: string, status: number, )
| 409 | } |
| 410 | |
| 411 | function passwordShellResponse( |
| 412 | title: string, |
| 413 | body: string, |
| 414 | status: number, |
| 415 | ): Response { |
| 416 | return new Response(passwordShell(title, body), { |
| 417 | status, |
| 418 | headers: { |
| 419 | "Content-Type": "text/html; charset=utf-8", |
| 420 | "Cache-Control": "no-store", |
| 421 | }, |
| 422 | }); |
| 423 | } |
| 424 | |
| 425 | function passwordShell(title: string, body: string): string { |
| 426 | return `<!doctype html> |
no test coverage detected