natevw / fermata

Succinct native REST client, for client-side web apps and node.js. Turns URLs into (optionally: magic!) JavaScript objects.
328 stars 24 forks source link

Pass headers as third argument to request callback? #27

Closed natevw closed 10 years ago

natevw commented 11 years ago

This would be kinda handy now and then. I think it makes more sense to pass just headers, rather than the original "raw" response, as then it will be cb(err,data,metadata) rather than cb(err,data,alternateData.