Arbitrary response content types in Feathers
问题 I have a custom service that must return data in CSV format. I can't use a standard Express route, because I need Feathers' hooks on this endpoint. I couldn't find an example of a Feathers service returning non-HTML, non-JSON data, and have found no way to specify a response content type. Using res.set('Content-Type', 'text/csv') before returning from the service method didn't work; the final Content-Type header was reset to application/json , even though the method's return value was a