@adonisjs/shield
Version:
A middleware for AdonisJS to keep web applications secure from common web attacks
8 lines (7 loc) • 313 B
TypeScript
import type { ContentTypeSniffingOptions } from '../types.js';
import { noop } from '../noop.js';
/**
* Factory function that returns a function to Add `X-Content-Type-Options`
* header based upon given user options.
*/
export declare function noSniffFactory(options: ContentTypeSniffingOptions): typeof noop;