UNPKG

urllib

Version:

Help in opening URLs (mostly HTTP) in a complex world — basic and digest authentication, redirections, timeout and more. Base undici API.

6 lines (5 loc) 255 B
import type { Except } from 'type-fest'; import type { IncomingHttpHeaders as HTTPIncomingHttpHeaders } from 'node:http'; export interface IncomingHttpHeaders extends Except<HTTPIncomingHttpHeaders, 'set-cookie'> { 'set-cookie'?: string | string[]; }