Home / File/ response-cookies-single.ts — astro Source File

response-cookies-single.ts — astro Source File

Architecture documentation for response-cookies-single.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('Set-Cookie', 'hello1=world1');
	return new Response('hello world', { headers });
}

Domain

Subdomains

Functions

Frequently Asked Questions

What does response-cookies-single.ts do?
response-cookies-single.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 response-cookies-single.ts?
response-cookies-single.ts defines 1 function(s): GET.
Where is response-cookies-single.ts in the architecture?
response-cookies-single.ts is located at packages/integrations/node/test/fixtures/headers/src/pages/endpoints/response-cookies-single.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