coś robię dalej źle, bo w odpowiedzi nic nie dostaję i pewnie dlatego wywala ciągle błąd. Moje nagłówki:
Response Headers
HTTP/1.1 200 OK
Date: Sun, 14 Aug 2011 11:46:43 GMT
Server: Apache/2.2.16 (Ubuntu)
X-Powered-By: PHP/5.3.3-1ubuntu9.5
Vary: Accept-Encoding
Content-Encoding: gzip
Content-Length: 20
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: text/html
Request Headers
OPTIONS /ajax.php HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 ....
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: 115
Connection: keep-alive
Access-Control-Request-Method: POST
Origin wyżej wygląda tak :
http://www.localhost:8085ajax.php - tu robie echo z paragrafem.