diff --git a/linkedin_messaging/linkedin.py b/linkedin_messaging/linkedin.py index 54fd0f1..f9b6d1d 100644 --- a/linkedin_messaging/linkedin.py +++ b/linkedin_messaging/linkedin.py @@ -521,7 +521,7 @@ async def _listen_to_event_stream(self): headers={ "accept": "text/event-stream", "connection": "keep-alive", - "x-li-accept": "application/vnd.linkedin.normalized+json+2.1", + "content-type": "text/event-stream", **REQUEST_HEADERS, }, # The event stream normally stays open for about 3 minutes, but this will