[thelist] AJAX pains - why is Safari being bitchy?

Matt Warden mwarden at gmail.com
Wed Apr 5 14:55:18 CDT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christian Heilmann wrote:
>>Safari's cache logic is borked. Until they fix it, I've been forcing
>>Safari to avoid its cache. Not exactly the best option in a lot of
>>cases, but since you're trying to make the request unique anyway, sounds
>>like this might be for you.
>>
>>Before you call send():
>>
>>request.setRequestHeader('If-Modified-Since',
>>        'Sat, 29 Oct 1994 00:00:00 GMT');
> 
> 
> Does that fix the status thing as well?

The undefined status bug is a result of the page being pulled from
cache. See:

http://www.google.com/search?q=safari+xmlhttprequest+undefined+status

- --
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFENCCmrI3LObhzHRMRAs1lAJ9kzpZo9NS1gXK4h271aRy2JErK8gCfYVQg
csSxLABzYkGx/Jk0wD6DOSg=
=zZ9J
-----END PGP SIGNATURE-----



More information about the thelist mailing list