You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The expected content-type for XML is application/xml
The expected content-type for Javascript is text/javascript - I suggest this is still the norm on servers despite application/javascript being more correct.
I'm also interested in testing the character encoding:
expect(res).to.be.utf8;// Check for "charset=UTF-8" - case sensitive :(