/**
* 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();
};
Well explained. Discover more at Price Chiropractic and Rehabilitation .
After my vehicle crash, my motor vehicle accident lawyer near me walked me with every step of the legal procedure– so thankful for their aid!
The amount of talent showcased through online auditions continues to amaze me—who stood out among recent contestants?? Share opinions here: qh88
This was quite helpful. For more, visit car accident doctor Boise .
Has anyone used #custom window well covers#? I just got mine from #anyKeyword# and love them! egress covers
Wow, incredible blog layout! How long have you been blogging for?
you make blogging look easy. The overall look of your
website is excellent, as well as the content!
Well done! Discover more at personal injury lawyer near me .
” Are there any childhood memories tied to playing or watching specific games that stay with us forever?” Share nostalgic stories with others over on ### anyKeyWord ###!” ee88
This article highlights the importance of junk removal in maintaining a clean home. I highly recommend same day junk cleanouts .
This was very enlightening. For more, visit casa rural en Arzua .
Ethical tree removal services are crucial for our environment. Check out what Tree services San Jose has to offer!
This was highly educational. More at Auto Glass .
I’m going to start decluttering this weekend based on your ideas. Wish me luck! cambridge house cleaners