diff --git a/packages/api/src/utils/http-response.ts b/packages/api/src/utils/http-response.ts index c990011..d1a42bd 100644 --- a/packages/api/src/utils/http-response.ts +++ b/packages/api/src/utils/http-response.ts @@ -64,3 +64,12 @@ export function ok(body: Record): HttpResponseInit { jsonBody: body, }; } + +export function okStreamResponse(): HttpResponseInit { + return { + status: 200, + headers: { + 'Content-Type': 'text/plain', + }, + }; +}