izaakschroeder / auth-header Goto Github PK
View Code? Open in Web Editor NEWDeal with obscene HTTP `Authorization` and `WWW-Authenticate` headers.
Deal with obscene HTTP `Authorization` and `WWW-Authenticate` headers.
It eases tracking for some types of distribution (e.g. Debian packaging which I do) when module releases are tagged in git.
Please consider tagging releases.
It appears there's a prepublish
script that should generate a dist
folder with a transpiled (ES5) version of this module; however, in the version I just installed, nothing like that exists.
This module seems broken in that state, at least on Node v4.
Authentication-Info headers are encoded in a similar way to WWW-Authenticate
and Authorization
headers (comma separated). The only difference appears to be that the Authentication-Info
header lacks a scheme.
Since most of the decoding is shared with the headers this library already handles, and since this is also an auth related header, it'd be nice to have functionality to decode these within auth-header.
Seems like this lib should be pretty light, but the use of lodash really makes it unnecessarily bulky.
Is babel-core
required when used in production? Can it be declared as a devDependencies
instead of a dependencies
as if defined right now?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.