hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Gardner (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HTTPCLIENT-1695) RFC6265Spec shouldn't throw exception on empty cookie name
Date Sun, 01 Nov 2015 21:31:27 GMT
Michael Gardner created HTTPCLIENT-1695:
-------------------------------------------

             Summary: RFC6265Spec shouldn't throw exception on empty cookie name
                 Key: HTTPCLIENT-1695
                 URL: https://issues.apache.org/jira/browse/HTTPCLIENT-1695
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpCookie
    Affects Versions: 4.5.1
            Reporter: Michael Gardner
            Priority: Minor


In section 5.2, RFC 6265 says "If the name string is empty, ignore the set-cookie-string entirely."
But RFC6265Spec explicitly throws an exception in this case, rather than ignore the cookie
string. This make HTTPClient unable to handle certain HTTP responses (which browsers do handle).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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


Mime
View raw message