Similar Threads. Just one ie6 template that works with ie6!? IE6 SP1 rendering vs IE6 SP2 rendering. setRequestheader problem.XmlHttpRequest Opera8.00 - Test for setRequestHeader? Msxml.XMLHTTP vs. Microsoft. XMLHTTP. xmlhttp.setRequestHeader not working. Ask Question. up vote 0 down vote favorite.HarendraSingh XmlHttpRequest has a number of send methods. Check them out here. Use the appropriate one. I was wondering why one cannot set cookie headers using setRequestHeader.Is there any security issue? --Edit.
I am working on node.js and used the xmlhttprequest module. Following is the test code var x new XMLHttpRequest() if (x.setRequestHeader) But before I get to the point of instantiating, Id like to detect whether submitting my POST form is going to work at all, so I can bomb out if it wont be supported. xmlhttp.open(POST, url) xmlhttp.setRequestHeader(Content-Type, application/x-www-form-urlencoded) xmlhttp.send(params)Also, expect xmlhttprequest to cache the responses you receive back if you use GET. setRequestHeader Does Not Work in JSONP Using jQuery. I am building an iPhone app using jQuery Mobile, jQuery 1.