Closed Bug 955938 Opened 11 years ago Closed 9 years ago

Server-sent events live example returns raw php code instead of generated events stream

Categories

(Developer Documentation Graveyard :: General, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: forkest, Assigned: sheppy)

References

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:26.0) Gecko/20100101 Firefox/26.0 (Beta/Release)
Build ID: 20131205075310

Steps to reproduce:

This article https://developer.mozilla.org/en-US/docs/Server-sent_events/Using_server-sent_events (needs a technical review btw) mentions this demo https://developer.mozilla.org/samples/sse/ which uses EventSource("ssedemo.php")


Actual results:

Demo doesn't work because https://developer.mozilla.org/samples/sse/ssedemo.php returns raw php code


Expected results:

ssedemo.php should get executed and return event stream
Depends on: 338583
Depends on: 1076893
I don't see the mention of the demo in the page anymore; reopen if I'm mistaken.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.