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

HTTP Response 400 from version 11.0.14

XMLWordPrintable

    • b07
    • generic
    • generic
    • Not verified

      ADDITIONAL SYSTEM INFORMATION :
              HttpRequest request = (HttpRequest) HttpRequest.newBuilder()
               .uri(URI.create(strEndpoint))
                      .header(strHeaderL, strHeaderR)
                      .POST(HttpRequest.BodyPublishers.ofString(joMeter.toString ()))
                      .build();

      HttpResponse<?> response = client.send(request, HttpResponse.BodyHandlers.ofString());


      A DESCRIPTION OF THE PROBLEM :
      The HTTP request returns the 400 response since the update to 11.0.14.
      The downgrade to 11.0.7 avoids the error and the request receives the 200 response.

      The update log refers to a bugfix JDK-8269944 Better HTTP Transport redux. referred.

      REGRESSION : Last worked in version 11


      FREQUENCY : always


            Unassigned Unassigned
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: