Commit 30081490 authored by Martijn van Beurden's avatar Martijn van Beurden Committed by Erik de Castro Lopo

Change javascript feed fetch from GET to POST

This change should disable caching of the news feed
Signed-off-by: Erik de Castro Lopo's avatarErik de Castro Lopo <erikd@mega-nerd.com>
parent bd3b697a
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
} else { } else {
xhttp=new XMLHttpRequest(); xhttp=new XMLHttpRequest();
} }
xhttp.open("GET",dname,false); xhttp.open("POST",dname,false);
xhttp.send(""); xhttp.send("");
return xhttp.responseXML; return xhttp.responseXML;
} }
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
} else { } else {
xhttp=new XMLHttpRequest(); xhttp=new XMLHttpRequest();
} }
xhttp.open("GET",dname,false); xhttp.open("POST",dname,false);
xhttp.send(""); xhttp.send("");
return xhttp.responseXML; return xhttp.responseXML;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment