It turns out that the SSE support in JAX-RS 2.1 doesn't cover the SSE use by OpenAI, in particular the client in JAX-RS doesn't support POST requests.