[Laszlo-user] HTTP verbs for RESTful applications

Simon Cornelius P. Umacob simoncpu at infoweapons.com
Sat Jun 16 23:28:25 PDT 2007


Hi,

I've just tried setting the querytype attribute in dataset to "delete" 
and "put", but I got this compilation warning instead:

Compilation Warnings
test.lzx:4:53: bad value for attribute "querytype"

This occurs in both Flash and DHTML runtime.  My web server's logs 
(lighttpd) indicate that when setting the querytype to other than "get" 
and "post", OpenLaszlo defaults to "get". :)

Do you guys have any work-around for this?  Maybe it would be cool to 
let querytype accept any string in order to accommodate current and 
future HTTP verbs.  JavaScript's XMLHttpRequest.open() does that already:

xxx.xxx.xxx.xxx - - [17/Jun/2007:14:20:20 +0800] "FOOBARVERB 
/ol/testquery.php HTTP/1.1" 501 357 "-" "-"

Thanks!!! :)


[ simon.cpu ]



-- 
And /usr/games/fortune futurama says:

    Robot priest: And so we commend Vladimir's remains to the earth:
    filings to filings, rust to rust.


More information about the Laszlo-user mailing list