Uploaded image for project: 'HttpComponents HttpClient'
  1. HttpComponents HttpClient
  2. HTTPCLIENT-1885

400 Bad Request Server: Microsoft-HTTPAPI/2.0

    XMLWordPrintableJSON

    Details

      Description

      Sending a HTTP GET to http://www.bungalow.net from Postman, cURL and HttpClient 4.5 works and returns a 200.

      Sending the same request from HttpClient 5.0 results in a 400.

      I enabled logging and saw this difference in the response headers:
      Server: Microsoft-IIS/8.0
      Server: Microsoft-HTTPAPI/2.0

      It seems that there is some additional services listening to port 80 on new windows machines and somehow the request from HttpClient 5.0 is forwarded to this one and not the IIS.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              baltendo Bernhard Altendorfer
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: