Skip to content

Database to lookup http reasons from http response status code

License

Notifications You must be signed in to change notification settings

postmanlabs/http-reasons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

http-reasons

A simple module that allows one to lookup extended information pertaining to a HTTP response code.

Usage

npm install http-reasons --save-dev;
var httpReasons = require('http-reasons');

console.log(httpReasons.lookup(122));
// outputs
// {
//   "name": "Request-URI too long",
//   "detail": "This is a non-standard IE7-only code which means the URI is longer than a maximum of 2083 characters."
// }

About

Database to lookup http reasons from http response status code

Resources

License

Stars

Watchers

Forks

Packages

No packages published