[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Luasocket 2.0: socket.http.request using POST
- From: LEGO <luis.ontanon@...>
- Date: Thu, 2 Feb 2006 20:15:12 +0100
On 2/2/06, Mark Edgar <firstname.lastname@example.org> wrote:
> Why would you expect your server's CGI implementation to recognize the
> request body as application/x-www-form-urlencoded data in the absense of
> a content-type header which indicates this? Why do you expect it to
> work without the content-type header? Has it worked this way on another
> CGI implementation? Do you have a browser which sends POST form data
> without including the proper content-type header?
RFC 2616 (7.2.1 ) says that a given implementation SHOULD send a
Content-Type whenever there is a body, and that only if there is not
you MAY try to guess what's there.
So you SHOULD not expect it but it MAY work.
This information is top security. When you have read it, destroy yourself.
-- Marshall McLuhan