node-http-link-header
node-http-link-header copied to clipboard
Make parse fn robust when undefined
When you do something like LinkHeader.parse(undefined) it crashes with:
Uncaught TypeError: Cannot read property 'replace' of undefined
I'd make this a bit more robust and would just return undefined as well.