I just wrote a simple java server to process some specific XML. The communication to this server is done via HTTP/1.0. The XML data is uploaded via a POST, and the server returns the correct HTTP/1.0 response. Everything works fine ... except with MSIE. Let me explain....
I have a test that is a simple HTML file containing a submit button. Clicking on the submit button sends the XML data block to my server. If the XML data block is small, the test (in MSIE) works everytime. As the XML block grows in size; however, MSIE refuses to display the HTML my server returns. Instead, I get the "Page cannot be displayed" Message. Note that debug output on the server side shows back-end processing completes with-out errors, and the server thread servicing the request runs to completion.
What in the heck could be causing this? I've gone so far as to comment out all the XML data processing code (basically, all the server does now is suck data in, then return a response) ... and I get the same thing. The HTTP/1.0 return block I send back to the client is listed below:
HTTP/1.0 200 OK
Server: Test Server 1.0
Date: Tue Oct 09 14:07:38 EST 2001
1) This works all the time in Netscape 6.1
2) If I omit the status code and headers, MSIE will display the return message.
3) If I omit the headers and return message, it appears to work. I Get a blank page (No "Page cannot be displayed message")