You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Andriy Redko (Jira)" <ji...@apache.org> on 2020/02/09 16:13:00 UTC

[jira] [Resolved] (CXF-7959) WebClient invocation builder header(name, value) method is not implemented according to interface

     [ https://issues.apache.org/jira/browse/CXF-7959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andriy Redko resolved CXF-7959.
-------------------------------
    Resolution: Fixed

> WebClient invocation builder header(name, value) method is not implemented according to interface
> -------------------------------------------------------------------------------------------------
>
>                 Key: CXF-7959
>                 URL: https://issues.apache.org/jira/browse/CXF-7959
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>    Affects Versions: 3.2.8, 3.3.0
>            Reporter: moby
>            Assignee: Andriy Redko
>            Priority: Major
>             Fix For: 3.4.0, 3.3.6, 3.2.13
>
>
> Acording to [https://docs.oracle.com/javaee/7/api/javax/ws/rs/client/Invocation.Builder.html#header-java.lang.String-java.lang.Object-] _"If {{value}} is {{null}} then all current headers of the same name will be removed."_
> Now when _null_ value is supplied, _null_ is added to existing header values with same name. E.g. _"Accept":"application/json,null"_



--
This message was sent by Atlassian Jira
(v8.3.4#803005)