diff lib/js/urweb.js @ 1037:83d8ddd09d95

Send RPCs with POST, to avoid caching
author Adam Chlipala <adamc@hcoop.net>
date Sat, 21 Nov 2009 14:29:35 -0500
parents e214ac93d73e
children dcc6093e9575
line wrap: on
line diff
--- a/lib/js/urweb.js	Sat Nov 21 13:50:59 2009 -0500
+++ b/lib/js/urweb.js	Sat Nov 21 14:29:35 2009 -0500
@@ -610,7 +610,7 @@
 var sig = null;
 
 function requestUri(xhr, uri, needsSig) {
-  xhr.open("GET", uri, true);
+  xhr.open("POST", uri, true);
 
   if (client_id != null) {
     xhr.setRequestHeader("UrWeb-Client", client_id.toString());