Hi Mike, Try removing the "HTTP/1.1 " at the begining of your assignment. The next two metatags are already providing that information (in eariler versions you had to do this, but not 5.5).
Also, "MIME-Version: 1.0<@crlf>" is not necessary. A great tool for debugging this stuff is here http://www.fiddlertool.com/fiddler/. Install it, run it (no configuration required), then open IE and run your webpages and see the HTTP headers in action. Fiddle will even help point out the parts that are broken. Hope this helps. Scott, On Tue, July 31, 2007 7:31 am, Mike Scally <[EMAIL PROTECTED]> said: > Hi, > > > > I am working on Witango Server 5.5 and I have come across an issue with IE7. > Maybe > someone has either experienced this before or can point me in the right > direction > here. I am using the window.XMLHttpRequest object in the browser to retrieve > XML > content from the server. > > > > When retrieving the XML (pasted below) from the server the XMLRequest objects > responseXML is empty in IE7 (i.e. it cannot load the XML thinking its not > valid). > However, on IE6 it gets populated with the XML as expected. It appears the > problem > is with using assign and request$httpHeader. > > > > I use > > <@ASSIGN request$httpHeader "HTTP/1.1 <@HTTPSTATUSCODE> <@HTTPREASONPHRASE> > <@crlf>Server: Witango <@version><@crlf>MIME-Version: 1.0<@crlf>Content-Type: > text/xml<@crlf><@SETCOOKIES><@crlf><@crlf>">. > > When I check the XML received in the browser there is an extra return > character > (or some other similar character) at the start of the XML. > > > > When I remove the last <@crlf> from the assign and leave as follows : > > <@ASSIGN request$httpHeader "HTTP/1.1 <@HTTPSTATUSCODE> <@HTTPREASONPHRASE> > <@crlf>Server: Witango <@version><@crlf>MIME-Version: 1.0<@crlf>Content-Type: > text/xml<@crlf><@SETCOOKIES><@crlf>"> there is no return character at the > start of > the XML and the XML gets loaded in IE7. > > > > Would anyone have experienced this before? Obviously removing the > second<@crlf> > from the assign will solve the problem but is this creating an invalid > HttpHeader > despite the fact that IE doesn't complain? > > > > Thanks for any help, > > Mike. > > > > XML : > > > > <?xml version="1.0" encoding="ISO-8859-1" ?> > > <response> > > <method>reloadTabContents</method> > > <result> > > <scripthead>Test12345432</scripthead> > > <bodyresult>Test</bodyresult> > > </result> > > </response> > > > ________________________________________________________________________ > TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/developer/maillist.taf
