From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <49ECA02D.2070503@proweb.co.uk> Date: Mon, 20 Apr 2009 17:17:49 +0100 From: maht User-Agent: Mozilla-Thunderbird 2.0.0.19 (X11/20090103) MIME-Version: 1.0 To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> References: <97a49263e0b4c855f2f2a42975a9b8bc@9netics.com> <32d987d50904191502n2840a634p4bceade966c82d1b@mail.gmail.com> In-Reply-To: <32d987d50904191502n2840a634p4bceade966c82d1b@mail.gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [9fans] web server Topicbox-Message-UUID: ea9e8a14-ead4-11e9-9d60-3106f5b1d025 cgi is more than parsing query strings, there are at least two other variable passing mechanisms x-www-form-encoded (query string as the POST body) and multipart/form-data - the sort that's required when uploading binary stuff. Common Gateway Interface is a 36 page RFC : http://www.ietf.org/rfc/rfc3875 My form upload decoder is here if anyone is interested http://www.proweb.co.uk/~matt/werc/cgilib.rc:35