(message?: string, init?: ResponseInit)
| 243 | } |
| 244 | |
| 245 | function notFound(message?: string, init?: ResponseInit): Response { |
| 246 | return new Response(message ?? "Not Found", { status: 404, ...init }); |
| 247 | } |
| 248 | |
| 249 | function parsePackagePathname(pathname: string): { |
| 250 | package: string; |