[6161] in www-talk@info.cern.ch
Form URL format
daemon@ATHENA.MIT.EDU (WWW Generic)
Thu Oct 13 23:36:12 1994
Date: Fri, 14 Oct 1994 04:31:27 +0100
Errors-To: listmaster@www0.cern.ch
Errors-To: listmaster@www0.cern.ch
Reply-To: www@jerry.cincom.com
From: WWW Generic <www@jerry.cincom.com>
To: Multiple recipients of list <www-talk@www0.cern.ch>
Hello All,
A friend of mine and I are writing a WWW browser. We are wondering what the
browser sends to the http server when the submit button is pressed for a form?
I personally have worked with processing forms as cgi-bin scripts using method
POST. And I know that certain variables are set (CONTENT_LENGTH,REQUEST_METHOD,
etc...) and that the variables from the form are passed to the processing
program through standard input as var=value pairs.
The question is, who sets the CONTENT_LENGTH variables? The browser or the
server? Also, how does the browser format the var=value pairs to send to the
http server.
My guess was that it would look like this:
http://host.org.com/cgi-bin/program?var2=value&var2=value
But that doesn't seem to work when I just type it in as a URL to open.
Any help would be appreciated, especially RTFM type comments, as long as the
FM's URL is specified.
Thanx in advance.
Dave Anderson.
PS: I have read a lot of HTML and http docs on the net, but have not found what
I need...