We should deal with other HTTP responses like:
302,303,307 redirect to HTTP header url automatically
301 redirect to new URL and store new URL
As exemple in http://www.w3.org/TR/eventsource/:
Event stream requests can be redirected using HTTP 301 and 307 redirects as with normal HTTP requests. Clients will reconnect if the connection is closed; a client can be told to stop reconnecting using the HTTP 204 No Content response code.
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
We should deal with other HTTP responses like:
302,303,307 redirect to HTTP header url automatically
301 redirect to new URL and store new URL
As exemple in http://www.w3.org/TR/eventsource/:
Event stream requests can be redirected using HTTP 301 and 307 redirects as with normal HTTP requests. Clients will reconnect if the connection is closed; a client can be told to stop reconnecting using the HTTP 204 No Content response code.