start on modified bare server

This commit is contained in:
Russell2259
2024-01-25 20:46:57 -07:00
parent 1810f6802c
commit a7be044a02
26 changed files with 1936 additions and 3 deletions
+8
View File
@@ -0,0 +1,8 @@
import type { BareHeaders } from './requestUtil.js';
export declare function objectFromRawHeaders(raw: string[]): BareHeaders;
export declare function rawHeaderNames(raw: string[]): string[];
export declare function mapHeadersFromArray(from: string[], to: BareHeaders): BareHeaders;
/**
* Converts a header into an HTTP-ready comma joined header.
*/
export declare function flattenHeader(value: string | string[]): string;