Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-1260186

HttpClient eats FileNotFound exception

XMLWordPrintable

    • 1.1
    • sparc
    • generic
    • Not verified

      If an HTTP server returns an error code (such as no such url) but also includes
      a content length in the reply, the FileNotFound exception gets eaten. This leads
      to some bogus actions down the line, such as trying to parse the error
      response from the server as a valid class file or preventing HotJava from putting
      up its normal 'file not found' exception page.

      A server that does this is CERN/3.0pre3 (running on wombat),
      CERN/3.0pre6 (running on sunweb.ebay), or Netscape-Communications/1.1
      (running on www.netscape.com).

      To reproduce, just visit any invalid URL in HotJava. The server on cafedead
      (NCSA/1.0) doesn't include content-length on its error returns, so it can be
      used for comparison.

      [a 21 Jul 96]


            djbrown David Brown (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: