HttpURLConnection should not throw a FileNotFoundException on HTTP 401 response

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 1.1.6
    • Component/s: core-libs
    • None
    • generic
    • solaris_2.5.1

      getInputStream() method of sun.net.www.protocol.http.HttpURLConnection throws
      a FileNotFoundException if the webserver returns a 401 (> 400) response (if
      the requested URL did not end with an .html extension).
      This causes a problem for .asp files which are protected.

      test case: Try logging into www.fool.com site.

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: