Name: bsT130419 Date: 09/20/2001
java version "1.4.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-beta2-b77)
Java HotSpot(TM) Client VM (build 1.4.0-beta2-b77, mixed mode)
getContentType reuses the internal URLConnection reference (of name "url_conn")
and that's nice. Strangely getInputStream and getOutputStream don't.
In addition, I would like to bring your attention to another URLDataSource
deficiency that seems to have fallen to the wayside that is also easy to fix
and has been reported already:
In short, the problem is that the OutputStream doesn't work for some types of
URLs and that all that needs to be done is to add:
before the line
(with the squiggly braces, and the url_conn re-using fix too, of course)
(Review ID: 132310)