UNPKG

ienoopen

Version:

Middleware to set `X-Download-Options` header for IE8 security

6 lines (5 loc) 305 B
/// <reference types="node" /> import { IncomingMessage, ServerResponse } from "http"; declare function xDownloadOptionsMiddleware(_req: IncomingMessage, res: ServerResponse, next: () => void): void; declare function xDownloadOptions(): typeof xDownloadOptionsMiddleware; export default xDownloadOptions;