the respond_to blocks seem to work when you specify the format in the URL (e.g. GET /resource.xml), but not when you only specify an Accept header.
the respond_to blocks seem to work when you specify the format in the URL (e.g. GET /resource.xml), but not when you only specify an Accept header.