import { ResponseContext } from "https://deno.land/x/windmill@v1.38.0/windmill-api/http/http.ts";
Constructors
Methods
getBodyAsAny(): Promise<string | Blob | undefined>
Use a heuristic to get a body of unknown data structure. Return as string if possible, otherwise as binary.
getBodyAsFile(): Promise<HttpFile>
getParsedHeader(headerName: string): { [parameter: string]: string; }
Parse header value in the form value; param1="value1"
E.g. for Content-Type or Content-Disposition
Parameter names are converted to lower case
The first parameter is returned with the key ""