MatthewWid / better-sse

⬆ Dead simple, dependency-less, spec-compliant server-sent events implementation for Node, written in TypeScript.
https://matthewwid.github.io/better-sse/
MIT License
558 stars 14 forks source link

Session 'headers' option overwrites conflicting default headers #44

Closed MatthewWid closed 2 years ago

MatthewWid commented 2 years ago

This PR updates the Session constructor options header field to overwrite conflicting default headers instead of being overwritten by them.