"As a Client Developer, I want to avoid getting Set-Cookie headers, or having to provide Cookie headers, in my API requests, so that I can concentrate on OAuth 2.0 as the sole way to authorize my app."
RESTful API servers are usually cookie-free; client developers don't have to keep track of cookies in their clients, and can use other authentication mechanisms, like OAuth 2.0, for their authorization.
MediaWiki and other parts of our stack can add cookies even for API endpoints, so it would be beneficial to enforce this cookie-free discipline at the gateway level.
See sub-tasks for done criteria.