Bernhard Altendorfer created HTTPCLIENT-1885:
------------------------------------------------

             Summary: 400 Bad Request Server: Microsoft-HTTPAPI/2.0
                 Key: HTTPCLIENT-1885
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1885
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient (classic)
    Affects Versions: 5.0 Alpha3
            Reporter: Bernhard Altendorfer
            Priority: Blocker


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.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to