You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Kai Huang (JIRA)" <ji...@apache.org> on 2013/04/02 09:33:15 UTC

[jira] [Created] (HTTPCLIENT-1333) HttpClient return 400 when requests include a long header value

Kai Huang created HTTPCLIENT-1333:
-------------------------------------

             Summary: 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