When a WordPress REST Route Shouldn't Return JSON

The WordPress REST API speaks JSON, so every route ends up returning JSON, even when the thing calling it is a calendar app, a spreadsheet download, or an AI crawler. Pick the response shape from the caller instead.


