here is my ajax request code: var myAjax2 = new Ajax.Request (url, { method: 'post', contentType: 'application/x-www-form-urlencoded', requestHeaders: ["Content-length","200"], contentLength: '200', onComplete: parseFlyout });
and here is the request headers per FireBug: User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv: 1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 Accept text/javascript, text/html, application/xml, text/xml, */* Accept-Language en-us,en;q=0.5 Accept-Encoding gzip,deflate Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive 300 Connection keep-alive X-Requested-With XMLHttpRequest X-Prototype-Version 1.6.0 Content-Type application/x-www-form-urlencoded; charset=UTF-8 Content-Length 0 Pragma no-cache Cache-Control no-cache my request hits a php script that is supposed to return a bunch of html.. the request get's stuck in "Loading" which I assumed was because of the size of the html response. Why is content-length in firebug showing 0?? Thanks for the help --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---