def sse_content(response, handler, **sse_kwargs):
<EOL>raise_for_not_ok_status(response)<EOL>raise_for_header(response, '<STR_LIT:Content-Type>', '<STR_LIT>')<EOL>finished, _ = _sse_content_with_protocol(response, handler, **sse_kwargs)<EOL>return finished<EOL>
Callback to collect the Server-Sent Events content of a response. Callbacks
passed will receive event data.

:param response:
    The response from the SSE request.
:param handler:
    The handler for the SSE protocol.