[ 
https://issues.apache.org/jira/browse/CXF-5508?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13882785#comment-13882785
 ] 

Jan Engehausen commented on CXF-5508:
-------------------------------------

Hi Sergey,
right 1. is working, 2. is not. I think we put the test in, because there is 
something in the spec about it, see 
http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html section 14.26:

{quote}
If none of the entity tags match, then the server MAY perform the requested 
method as if the If-None-Match header field did not exist, but MUST also ignore 
any If-Modified-Since header field(s) in the request. *That is, if no entity 
tags match, then the server MUST NOT return a 304 (Not Modified) response.*
{quote}

Kind regards,
Jan

> Request.evaluatePreconditions(Date, EntityTag) loses a non-null 
> ResponseBuilder 
> --------------------------------------------------------------------------------
>
>                 Key: CXF-5508
>                 URL: https://issues.apache.org/jira/browse/CXF-5508
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 2.7.6
>            Reporter: Jan Engehausen
>            Assignee: Sergey Beryozkin
>             Fix For: 3.0.0-milestone2, 2.6.12, 2.7.9
>
>
> The problem I reported in https://issues.apache.org/jira/browse/CXF-4231 is 
> back since 2.7.6; we noticed when upgrading to 2.7.8. See also 
> https://fisheye6.atlassian.com/browse/cxf/branches/2.7.x-fixes/rt/frontend/jaxrs/src/main/java/org/apache/cxf/jaxrs/impl/RequestImpl.java?r2=1503661&r=1494596
> The concrete change/problematic part: if (rb != null) { => if (rb == null) {
> Any chance for a fix in the next release?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to