/**
* 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();
};
Aproveite a oferta exclusiva do moverbet para novos usuários e receba 100$ de bônus
ao se registrar! Este bônus de boas-vindas permite que você experimente uma vasta gama de jogos de cassino
online sem precisar gastar imediatamente. Com o bônus de 100$, você poderá explorar jogos como roleta,
blackjack, caça-níqueis e muito mais, aumentando suas chances de vitória desde o
primeiro minuto. Não perca essa chance única de começar com um valor significativo – cadastre-se agora!
Ganhe 100$ no esportesdasorte-br.com – https://esportesdasorte-br.com ao Se Registrar – Comece a
Apostar Agora!
These are genuinely wonderful ideas in concerning blogging. You have touched some nice factors here. Any way keep up wrinting.
Bônus de 100$ ao Registrar-se no blaze – Aproveite Agora!
Faça seu Cadastro no dobrowin – https://dobrowin55.com e Ganhe 100$
para Começar a Jogar!