I'm having trouble sending a pretty standard HTTP reply through a number of firewalls...unfortunately the users I've been dealing with don't know what firewall they are using so I'm having trouble narrowing it down to a particular one.
Here's what happening: My server receives standard HTTP 1.0 requests and replies back with HTML. The problem is that the reply doesn't make it back through all types of firewalls and/or proxy servers. Half the firewalls seem to choke whenever I send back the standard HTTP headers (ie HTTP status line followed by "Date: ", "Server: ", "Content-Type:" and "Content-Length:") while the other half choke if the headers are not there (ie they will accept the raw HTML reply)
Some of the proxies/firewalls simply fail with a HTTP 500 error while others echo the request (truncated) back to the sender (ie if the client posts "test" (ignoring the HTTP headers) and the server replies with "0123456789" the client receives back "test012345" which is the proper length, but for some reason it includes the posted data)
If you have any insight then please let me know ASAP...thanks in advance.