[General] HTTP Post requests
Juhani Ränkimies
juhani at juranki.com
Tue Nov 25 10:39:56 CET 2008
Hi,
Could you add the post method to Network?
BR,
-juhani
--------------------------- source/kernel/Network.js
---------------------------
index bba3da6..f9abc35 100644
@@ -380,6 +380,10 @@ View.subclass('NetRequest', {
return this.request("PUT", URL.makeProxied(url), content);
},
+ post: function(url, content) {
+ return this.request("POST", URL.makeProxied(url), content);
+ },
+
propfind: function(url, depth, content) {
this.setContentType("text/xml"); // complain if it's set to something
else?
if (depth != 0 && depth != 1)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://livelykernel.sunlabs.com/pipermail/general/attachments/20081125/85e87a33/attachment.html
More information about the lively-kernel
mailing list