[REBOL] Re: am I losing it with webserv.r?
From: Izkata::Comcast::net at: 10-Jun-2005 14:35
I use a modified Micro Webserver for all of my experimenting,
and have never needed to use CGI, but perhaps this can be of
a little help:
http-port: first wait listen-port
Data: copy http-port/state/inBuffer ;Here's your POST data
Looks like this line in your Webserv.r is what you want:
if error? try [ request: parse first (conn: first listen) none ] [ close
conn return ]
Add this line after it... I think it's what you want..
POSTData: copy conn/state/inBuffer