Home / File/ kitchen-sink.ts — astro Source File

kitchen-sink.ts — astro Source File

Architecture documentation for kitchen-sink.ts, a typescript file in the astro codebase.

Entity Profile

Relationship Graph

Source Code

export async function GET({ request }: { request: Request }) {
  const headers = new Headers();
  headers.append('content-type', 'text/plain;charset=utf-8');
  headers.append('x-SINGLE', 'single');
  headers.append('X-triple', 'one');
  headers.append('x-Triple', 'two');
  headers.append('x-TRIPLE', 'three');
  headers.append('SET-cookie', 'hello1=world1');
  headers.append('Set-Cookie', 'hello2=world2');
	return new Response('hello world', { headers });
}

Domain

Subdomains

Functions

Frequently Asked Questions

What does kitchen-sink.ts do?
kitchen-sink.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain, CoreMiddleware subdomain.
What functions are defined in kitchen-sink.ts?
kitchen-sink.ts defines 1 function(s): GET.
Where is kitchen-sink.ts in the architecture?
kitchen-sink.ts is located at packages/integrations/node/test/fixtures/headers/src/pages/endpoints/kitchen-sink.ts (domain: CoreAstro, subdomain: CoreMiddleware, directory: packages/integrations/node/test/fixtures/headers/src/pages/endpoints).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free