Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

message-headers

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

message-headers

Automatically updated list of RFC HTTP permanent and provisional headers from IANA (<https://www.iana.org/assignments/message-headers/message-headers.xhtml>)

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
181
decreased by-0.55%
Maintainers
1
Weekly downloads
 
Created
Source

message-headers

build status code style styled with prettier made with lass license

Automatically updated list of RFC HTTP permanent and provisional headers from IANA (https://www.iana.org/assignments/message-headers/message-headers.xhtml)

Are you receiving the client-side error "Refused to set unsafe header"? It's because you're trying to modify a standard header sent by the browsers by default (and that is not safe)!

This package is manually updated (for safety) when the automatic nightly builds fail (the remote IANA CSV files were updated).

Table of Contents

Install

npm:

npm install message-headers

yarn:

yarn add message-headers

Usage

const messageHeaders = require('message-headers');

console.log('all', messageHeaders.all);
console.log('permanent', messageHeaders.permanent);
console.log('provisional', messageHeaders.provisional);
console.log('standard', messageHeaders.standard);
console.log('deprecated', messageHeaders.deprecated);

Contributors

NameWebsite
Nick Baughhttp://niftylettuce.com/

License

MIT © Nick Baugh

Keywords

FAQs

Package last updated on 28 Sep 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc