e14n / webfinger

Webfinger client library for Node.js
Apache License 2.0
40 stars 10 forks source link

Handle content negotiation in webfinger #5

Closed evanp closed 11 years ago

evanp commented 11 years ago

It's possible, sometimes, to change the results from Webfinger by including an "Accept" header including "application/json".

We should throw the Accept header in, and then parse JSON or XML depending on what comes back.

evanp commented 11 years ago

I think the newest version of the spec does not allow using Accept on the header.