HTTP PUT and DELETE
[1/3] from: sabufrancis::rediffmail::com at: 5-Jun-2007 21:19
Hi:
How does one do a "PUT" using the HTTP protocol in Rebol?
It is very difficult to get this information using Google. "PUT" is such a
common word!
I also need to know how to do a "DELETE" "POST" and "GET" does not pose much
problems
I got some examples on how to place extra headers into the HTTP protocol
using read/custom
but there does not seem to be clear docs.
Many mash-ups require these functionalities
Any help would be appreciated
Regards
Sabu Francis
[2/3] from: santilli:gabriele:g:mail at: 5-Jun-2007 23:31
2007/6/5, Sabu Francis <sabufrancis-rediffmail.com>:
> How does one do a "PUT" using the HTTP protocol in Rebol?
The HTTP handler only supports POST and GET (and HEAD for QUERY)
directly. But it should be quite easy to patch it for PUT and
DELETE...
Otherwise, I've done PUT by just opening TCP directly and sending the
HTTP request.
Regards,
Gabriele.
[3/3] from: moliad::gmail::com at: 6-Jun-2007 11:31
just a note,
beware of making sure you send your headers with CRLF if you do end up using
a tcp port directly.
-MAx
On 6/5/07, Gabriele Santilli <santilli.gabriele-gmail.com> wrote: