postmanlabs/http-reasons

Name: http-reasons

Owner: Postman

Description: Database to lookup http reasons from http response status code

Created: 2016-06-22 13:21:29.0

Updated: 2017-06-23 17:31:19.0

Pushed: 2017-06-14 15:31:32.0

Homepage: null

Size: 12

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

http-reasons

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

Usage
install http-reasons --save-dev;
avascript
httpReasons = require('http-reasons');

ole.log(httpReasons.lookup(122));
utputs

 "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."


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.