You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by "Michael Gardner (JIRA)" <ji...@apache.org> on 2015/11/01 22:31:27 UTC

[jira] [Created] (HTTPCLIENT-1695) RFC6265Spec shouldn't throw exception on empty cookie name

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