W3C home > Mailing lists > Public > ietf-http-wg@w3.org > July to September 2002

RE: POST request!

From: Fred Bohle <Fred.Bohle@neonsys.com>
Date: Thu, 5 Sep 2002 08:02:57 -0500
Message-ID: <14C92B09AF07F04887EC03C50D3A3CF322BC3C@houexch.neonsys.int>
To: "Naresh Agarwal" <nagarwal@in.firstrain.com>, <ietf-http-wg@w3.org>

If the body of the POST request is the result of filling out a form,
then the contents are name,value pairs as you expect.  They will be
url-encoded just like the GET request would be, but the name,value
pairs are in the body, not the end of the url.

Most CGI programs I have seen parse EITHER the end of the URL (query
variables) for the GET method, OR they parse the body text for the POST
method.  BUT NOT BOTH.  It is possible to send such a request, but
I don't know how to get a standard browser to do it.  If you are writing
your own sender, you could build such a request, but most CGI programs
will ignore the url query variables.


-----Original Message-----
From: Naresh Agarwal [mailto:nagarwal@in.firstrain.com]
Sent: Thursday, September 05, 2002 1:02 AM
To: ietf-http-wg@w3.org
Subject: POST request!


How the POST request is sent internally? Is the body of POST  request is sent as (name, value) pair?

Also can i send a POST request along with some parameters, some thing like below?

POST /servername/some_virtual_directory/somefile.asp?id=x&name=y
Some headers...

and then body..

Naresh Agarwal
Received on Thursday, 5 September 2002 09:04:44 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 11:10:35 UTC