Fix "syntax error" message on FF, resulting from FF trying to parse the POST result as XML due to it not having a response content-type #806

Merged
merged 1 commit into from Mar 27, 2012

Projects

None yet

2 participants

@mixu
Contributor
mixu commented Mar 27, 2012

Firefox will try to parse the response from xhr POST requests, causing a syntax error message in the Web Console. Basically an addition to #501 which fixed this for GETs but not for POSTs.

@mixu mixu Firefox will try to parse the response from POST requests, causing a …
…syntax error message in the Web Console. Basically an addition to socketio#501
d80010d
@rauchg rauchg merged commit b9c3255 into socketio:master Mar 27, 2012
@rauchg
Contributor
rauchg commented Mar 27, 2012

Awesome, we have this already in engine.io it looks like.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment