Hi,
[EMAIL PROTECTED] wrote:
>
> On 20-Jan-00, [EMAIL PROTECTED] said about the subject [REBOL] POST method
> under IIS3/4 Re::
>
> Hi,
>
> > there is a CGI HOWTO at http://www.rebol.com/howto.html#cgi-scripts.html
> > which mentions POST.
>
> Yeah been through that. I never seem to have trouble posting data using
> apache.
>
> > These two little files work for me in IIS 4. If GET works for you, POST
> > should as well, no more server configuration is needed.
>
> Hmm, I just realised the PUT, DELETE extras mentioned in the cgi howto isn't
> setup in IIS4 configuration. Would that likely cause a problem ?
>
I looked at HTTP protocol (RFC 2068), and I don't think so. These are
just two of seven HTTP methods (OPTIONS, GET, HEAD, POST, PUT, DELETE,
TRACE). PUT is used for uploading pages and replacing them with newer
versions, and DELETE is for deleting pages. The setting in IIS4 for
excluding methods is for safety, so that scripts cannot modify or
delete files on the server.
> Thanks for the scripts, I'll try them in work tomorrow.
>
> > I think I read earlier that 'read-io function does not grow its string
> > argument dynamically as other functions in REBOL, but needs enough
> > bytes (here it is 2000) already reserved.
>
> I'm not sure. IIS4 gave the impression it didn't know when to end the data
> from the input.
>
I forgot to say, if I run http://127.0.0.1/posttest.r from browser, the
script runs forever because it's called with a GET request. If it's run
as a form action from http://127.0.0.1/posttest.html, it displays its
argument passed as POST request.
Kind Regards,
> Ed.
> --
> ________ _________
> \___ \ / \ / ___// ICQ: 34895924
> | \ \\_/\_// __// TWF Home : http://www.worldfoundry.com/
> |_ /__\____/_// CEG Home : http://www.worldfoundry.com/ceg/
> =================================================================
> The World Foundry LLC - Amiga PPC - Explorer 2260 - Maim & Mangle
>
> I think that God in creating man somewhat overestimated his ability.
> -- Oscar Wilde
--
Michal Kracik