You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/11/28 09:26:00 UTC

[jira] [Commented] (HTTPCLIENT-1885) 400 Bad Request Server: Microsoft-HTTPAPI/2.0

    [ https://issues.apache.org/jira/browse/HTTPCLIENT-1885?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16268436#comment-16268436 ] 

ASF subversion and git services commented on HTTPCLIENT-1885:
-------------------------------------------------------------

Commit 4a55a8cfbdd7659c76e1354de66eb15a5b066b3b in httpcomponents-client's branch refs/heads/master from [~olegk]
[ https://git-wip-us.apache.org/repos/asf?p=httpcomponents-client.git;h=4a55a8c ]

HTTPCLIENT-1885: Content compression exec interceptor generates incorrect 'Accept-Encoding' header value


> 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: Minor
>              Labels: regression
>             Fix For: 5.0 Beta1
>
>
> 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