Raynos/xhr — pull request #26 by mhart (2014-06-06 16:08:39+00:00)
Title: Added Accept header to show we want JSON in return

A number of libraries (eg, the Express error handler) use the Accept header to determine whether they can send JSON back - and I think it's reasonable to say we're expecting JSON in return given that it's parsed on the response.