Skip to content

Commit

Permalink
cleanup formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mbieser committed Oct 25, 2013
1 parent b11ca1c commit 8d3622d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/eventsource.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ function EventSource(url, eventSourceInitDict) {
var isSecure = options.protocol == 'https:';
options.headers = { 'Cache-Control': 'no-cache', 'Accept': 'text/event-stream' };
if (lastEventId) options.headers['Last-Event-ID'] = lastEventId;


if (eventSourceInitDict && eventSourceInitDict.headers && isPlainObject(eventSourceInitDict.headers)) {
for (var i in eventSourceInitDict.headers) {
var header = eventSourceInitDict.headers[i];
Expand Down

0 comments on commit 8d3622d

Please sign in to comment.