[REBOL] Re: POSTing to url
From: Tom:Conlin:gm:ail at: 12-Jul-2007 12:41
Hi John,
there are url-encode.r functions floating about that might help.
in extreme cases when you *know* your request is valid and
still do not get the expected response
I have had to (temporarily) disable rebols auto redirects ...
here is a snippit
...
;; un-redirect monkey-patch inspired by Ryan Cole
o: second get in system/schemes/http/handler 'open
ora: find/tail o to-set-word 'response-actions
poke first ora 16 pick first ora 4
page: read/custom http://www.xyz.com/RC2/engine/sqlGenerator_xyzCom.asp
compose/deep[POST (req) [Cookie: (cookie)]]
;; un-un-redirect monkey-patch
poke first ora 16 pick first ora 14
....
John Blake wrote: