You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Bernhard Altendorfer (JIRA)" <ji...@apache.org> on 2017/11/28 08:57:00 UTC
[jira] [Created] (HTTPCLIENT-1885) 400 Bad Request Server:
Microsoft-HTTPAPI/2.0
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: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org