Send Accept header through in Chrome to ensure correct response type is returned where applicable
This forces Microsoft WebAPI feeds, and any others that obey the Accept header, to return XML as opposed to JSON, CSV, etc where available.
The header almost matches that which chrome sends by default, with the various format weightings re-arranged to give preference to XML over HTML before finally falling back to whatever format is available (.)
Send Accept header through in Chrome to ensure correct response type is returned where applicable
This forces Microsoft WebAPI feeds, and any others that obey the Accept header, to return XML as opposed to JSON, CSV, etc where available.
The header almost matches that which chrome sends by default, with the various format weightings re-arranged to give preference to XML over HTML before finally falling back to whatever format is available (.)