We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d64b51a commit c731886Copy full SHA for c731886
src/EventSource.js
@@ -108,7 +108,7 @@ class EventSource {
108
if (xhr.status >= 200 && xhr.status < 400) {
109
if (this.status === this.CONNECTING) {
110
this.status = this.OPEN;
111
- this.dispatch('open', { type: 'open' });
+ this.dispatch('open', { type: 'open' , responseHeaders: xhr.responseHeaders });
112
this._logDebug('[EventSource][onreadystatechange][OPEN] Connection opened.');
113
}
114
0 commit comments