e14n / webfinger

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

Handle content negotiation in host-meta #4

Closed evanp closed 11 years ago

evanp commented 11 years ago

It's possible, sometimes, to change the results from host-meta 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.