Skip to content

Commit

Permalink
realtime: fix connection headers
Browse files Browse the repository at this point in the history
Signed-off-by: Sumner Evans <[email protected]>
  • Loading branch information
sumnerevans committed Dec 12, 2023
1 parent 745ad45 commit 9996817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linkedin_messaging/linkedin.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9996817

Please sign in to comment.