/**
* This replaces the default MooTools more Depender.request function to use
* HTTP "get" rather than "post".
*
* When sending requests for files via the depender, I was finding that Safari
* wasn't getting and re-evaluating them the second time I visited the page.
* This was because an etag was sent with each script.
*
* Safari responds to etags properly and adds "If-None-Match" and
* "If-Modified-Since" headers to another request for the same file. This makes
* Apache respond with a 412 status (Precondition Failed) as it should do for
* "post" requests (according to RFC 2616).
*
* Unfortunately Safari doesn't then deal with the 412 as it does with a 304
* (Not Modified). It doesn't grab what it has in the cache and put it in the
* response, it gives you nothing.
*
* For "get" requests, Apache has to respond with a 304, or 200 or whatever, but
* not 412. So we change the request method so we don't have to deal with 412.
*/
Depender.request = function(url, callback){
new Request.JSON({
url: url,
secure: false,
onSuccess: callback,
method:'get'
}).send();
};
Just desire to say your article is as surprising. The clarity in your publish is just spectacular
and that i could suppose you’re a professional in this subject.
Fine with your permission let me to grasp your feed to stay updated with approaching post.
Thanks 1,000,000 and please keep up the rewarding work.
Following multiple sports through one online platform is so convenient! Discover how at iwin .
узнать https://beepbeepcasino.ru/vip
Hi! I know this is kinda off topic but I was wondering
which blog platform are you using for this
website? I’m getting fed up of WordPress because I’ve had problems with hackers and I’m looking at options for another platform.
I would be great if you could point me in the
direction of a good platform.
It’s in fact very complicated in this full of activity life to listen news on TV, thus
I just use world wide web for that reason, and take the hottest news.
Valuable work is not just about money; it’s about making a difference. I appreciate this discussion! More thoughts at manclub .
For latest news you have to go to see internet and on world-wide-web I found this website as
a best web site for newest updates.
Teds Woodworking offers detailed plans and easy-to-follow guides for woodworking projects
of all levels. Want to build something amazing? See what users say about
Teds Woodworking!