W3C home > Mailing lists > Public > ietf-http-wg-old@w3.org > May to August 2000

Re: problem with responses to post-requests

From: Keith Hoffman <hoffmankeith@hotmail.com>
Date: Fri, 25 Aug 2000 21:01:52 GMT
To: OSeemann@gmx.net, http-wg@cuckoo.hpl.hp.com
Message-ID: <LAW-F114kdavN3qljWw00000a3b@hotmail.com>
do you have a test site where I could see this and also do you have any 
network traces of the problem?  I'd like to see if there is a problem with 
the way IE handles this.

>From: OSeemann@gmx.net
>To: http-wg@cuckoo.hpl.hp.com
>Subject: problem with responses to post-requests
>Date: Fri, 25 Aug 2000 12:32:15 +0200 (MEST)
>i've got a problem while responding to POST requests.
>i'm currently developing a small http-server to configure some files via a
>while sending responses to GET requests everything works fine and the
>browser prints the output. but if i try to handle a post request i 
>different reactions by netscape navigator and internet explorer.
>after processing the content of the post-request i'm sending the
>html-output to the client and close the connection. this works fine with 
>NN. but IE
>doesn't show the page and gives an error-msg telling me that the connection
>has been reset.
>i just don't get it why NN is doing fine and IE not.
>what's the difference between responses to GET and POST requests ?
>why is IE telling me errors and not showing the transmitted page ?
>here's some of the code:
>while ((conn = accept(sock,(struct sockaddr *) &addr,&addr_length)) >= 0)
>  /*
>   reading/parsing header etc.
>  */
>if (strcmp(request->method,"POST") == 0)
>  putsock(conn,"HTTP/1.0 200 OK\n");
>  putsock(conn,"Content-Type: text/plain\n\n");
>  putsock(conn,"Netscape Navigator shows this.\
>               Internet Explorer gives error");
>// here NN says "Document Done" and shows the page
>// but IE gives error msg "Connection Reset"
>Sent through GMX FreeMail - http://www.gmx.net

Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
Received on Friday, 25 August 2000 22:02:49 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:40:24 UTC