hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Kalnichevski (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (HTTPCLIENT-1333) HttpClient return 400 when requests include a long header value
Date Tue, 02 Apr 2013 09:31:16 GMT

     [ https://issues.apache.org/jira/browse/HTTPCLIENT-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Oleg Kalnichevski resolved HTTPCLIENT-1333.
-------------------------------------------

    Resolution: Invalid

400 status code is returned by the server, not by the client.

Oleg
                
> HttpClient return 400 when requests include a long header value
> ---------------------------------------------------------------
>
>                 Key: HTTPCLIENT-1333
>                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1333
>             Project: HttpComponents HttpClient
>          Issue Type: Bug
>          Components: HttpClient
>    Affects Versions: 4.2.3
>         Environment: Windows, Java 6
>            Reporter: Kai Huang
>
> I send PUT or POST with a long value header for example 
> token= device 3:c08e412f95df11e2b3ef42b0d94d0c05:900000:1364810827593:qa1j7t4dfbedcea4@gmail.com:c08dcbfe95df11e2b3ef42b0d94d0c05:MCwCFE1KKoZnyBvM5OwGzl0B5+fpocMWAhQbcmZRm9nINWLD7k8NYbLgVjJTNQ==
> httpclient always return 400, but if I cut the header to a short one or change to other
clients, it works fine. I guess this is a bug of httpclient.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Mime
View raw message