For some reason my ajax calls are creating an HTTP OPTIONS request on the GET/POST requests. I am getting no data returned.
Does anyone know why this would happen and how to resolve it?
<script type="text/javascript">
<!--
document.addEvent('domready', function(){
$('content').load('tasks.php');
});
//-->
</script>
Request
Host: www.xxxxxx.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,/;q=0.8
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
Origin: http://xxxxxx.com
Access-Control-Request-Method: GET
Access-Control-Request-Headers: x-requested-with
Response
Date: Tue, 20 Oct 2009 19:43:55 GMT
Server: Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_bwlimited/1.4 PHP/5.2.11
X-Powered-By: PHP/5.2.11
Set-Cookie: PHPSESSID=9e76595060296ba2be252db4fce2c552; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 56
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html
TIA!