[
https://issues.apache.org/jira/browse/CXF-8163?focusedWorklogId=349513&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-349513
]
ASF GitHub Bot logged work on CXF-8163:
---------------------------------------
Author: ASF GitHub Bot
Created on: 26/Nov/19 02:24
Start Date: 26/Nov/19 02:24
Worklog Time Spent: 10m
Work Description: reta commented on pull request #605: CXF-8163:
javax.ws.rs.core.Response#getCookies() fails when cookie has no value
URL: https://github.com/apache/cxf/pull/605
The RFC-6265 has the clarifications regarding empty cookie values, both in
grammar [1] and interpretation [2]. The approach adopted by other Java
libraries (RESTEasy, Jersey, JDK11's HttpClient, ...) is to return an empty
string as the value of the cookie.
[1] https://tools.ietf.org/html/rfc6265#section-4.1.1
[2] https://tools.ietf.org/html/rfc6265#section-5.2
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 349513)
Remaining Estimate: 0h
Time Spent: 10m
> javax.ws.rs.core.Response#getCookies() fails when cookie has no value
> ---------------------------------------------------------------------
>
> Key: CXF-8163
> URL: https://issues.apache.org/jira/browse/CXF-8163
> Project: CXF
> Issue Type: Bug
> Affects Versions: 3.3.4
> Reporter: Romain Manni-Bucau
> Assignee: Andriy Redko
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> It is common for a server to bypass the cookie value to reset the cookie,
> there the jax-rs client fails to parse it with an exception whereas I think
> it should ignore the cookie entry.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)