--- You wrote:
some HTTP/1.0 calls (those with a request body and which do not specify a
content length) will fail when not running on JDK 1.3, depending on how the
server behaves. If anyone could suggest a workaround, that would be great.
---
Well, looking at the documentation for Socket.shutdownOutput(), my naive first
impression is that it looks functionally like a flush() and a close() on the
output stream for the socket. I don't see any obvious way to re-open the socket
once it's been shut down.
And, of course, you could always cheat, and look at the source code for the 1.3
Socket class to see how that method is implemented.
Sixten