Martijn van Beurden
2013-Jun-05 17:19 UTC
[PATCH] Change javascript feed fetch from GET to POST
This change should disable caching of the news feed --- index.html | 2 +- news.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 41d81d8..b4efb6b 100644 --- a/index.html +++ b/index.html @@ -23,7 +23,7 @@ } else { xhttp=new XMLHttpRequest(); } - xhttp.open("GET",dname,false); + xhttp.open("POST",dname,false); xhttp.send(""); return xhttp.responseXML; } diff --git a/news.html b/news.html index 88e8ab6..02048df 100644 --- a/news.html +++ b/news.html @@ -25,7 +25,7 @@ } else { xhttp=new XMLHttpRequest(); } - xhttp.open("GET",dname,false); + xhttp.open("POST",dname,false); xhttp.send(""); return xhttp.responseXML; } -- 1.8.1.2 --------------010109050309030809030001--