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

HttpURLConnection.getResponseMessage() doesn't throw IOException on server error (OS X)

XMLWordPrintable

    • b03
    • generic
    • os_x

        See test sun/net/www/http/HttpClient/RetryPost.sh

        in method doClient:
        line uc.getResponseMessage() must throw SocketException because server return 503 code error.

        affected tests:
        sun/net/www/http/HttpClient/RetryPost.sh

              chegar Chris Hegarty
              pealexan Petrov Alexander (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              15 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: