Name: vpR10197 Date: 05/17/2004
According to specification, new methods setFiexedLengthStreamingMode(int)
and setChunkedStreamingMode(int) of HttpURLConnection throw IOException
if URLConnection is already connected. At the same time most of the
'set' methods of URLConnection throw IllegalStateException in this case.
It would be great if setFiexedLengthStreamingMode and setChunkedStreamingMode
would throw IllegalStateException as well instead of IOException.