All Posts Tagged With: "dashboard"

Safari, XMLHttpRequest, and WebDAV

Apparently, Safari’s implementation of the XMLHttpRequest object doesn’t support HTTP methods other than GET and POST. If you try to use anything else, say SEARCH, then it’s silently converted to GET.

I guess this is supposed to protect me from doing something wrong, but really it’s just not trusting me to know what I want to do. I hate this. And it’s not as if this is a technical issue. All Safari has to do is insert the string into the HTTP request, just as it’s already doing for GET and POST. There’s no new logic to handle arbitrary methods.

Not suprisingly, smarter browsers, say Firefox, aren’t quite so inhibited.

This has put a bit of a crimp in my plan to write a calendar Dashboard widget that pulls data from Outlook using WebDAV. I can work around this, but I’m not sure if it’s worth the effort. Stupid Apple.