Yesudeep Mangalapilly
Not a member
Yesudeep Mangalapilly's latest activity
Monday, July 27 2009
51
xhr.setHeader('Content-type', 'application/json') fails to set Content-type h...
was updated
in Core
-
Yesudeep Mangalapilly commented at 4:17 PMOh, nice. I can probably use that suggestion to go right ahead.
However, yes, I second that it would be good to keep the user
defined content-type.Thanks. :-)
-
Yesudeep Mangalapilly created the ticket at 10:57 AMHere's the offending piece of code:
var xhr = new Xhr('/api', { onSuccess: function(){ console.log('success!'); } }); xhr = xhr.setHeader('Cont...