Re: request for new forms submission consensus

Tony Sanders <sanders@bsdi.com>
X-Delivered: at request of secret on dxcern.cern.ch
Errors-To: sanders@bsdi.com
Message-id: <9310112159.AA29016@austin.BSDI.COM>
To: www-talk@nxoc01.cern.ch
Subject: Re: request for new forms submission consensus 
In-Reply-To: Your message of Mon, 11 Oct 93 16:39:22 PDT.
Errors-To: sanders@bsdi.com
Reply-To: sanders@bsdi.com
Organization: Berkeley Software Design, Inc.
Date: Mon, 11 Oct 1993 16:59:06 -0500
From: Tony Sanders <sanders@bsdi.com>
> How about, then, <FORM ACTION="POST http://www.bsdi.com/hyplan/sanders.html">
I would just say that forms always get POST'ed, why would you ever need
some other method?

> >     Content-Length: 13
> Looks good, except -- is Content-Length to be required?  (And if so, why?)
Because you need to know where the end of the message is, the client can't
close the connection until it gets back a reply.  You either need a
Content-Length: or you can use a message boundary by encoding a multipart:

    POST /hyplan/sanders.html HTTP/1.0
    MIME-Version: 1.0
    Content-type: multipart/mixed; boundary="somestring"

    --somestring
    Content-type: application/x-www-textform

    name=testing
    --somestring--

--sanders