Hi Sergey,

>> By sending an explicit Accept header, this will block HttpUrlConnection
>> from sending an invalid header to CXF. CXF was (correctly!) spitting out a
>> 406 when the HttpUrlConnection was sending:
>>
>> text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2
>
> is it a single '*' which causes CXF to reply with 406 ? May be CXF should be 
> more tolerable to single "*" which I guess is a legacy wildcard value...I 
> think it should.
>

Yes, it's throwing the IllegalArgumentException on the single star
(it's expecting <something>/<something>). CXF could be more lenient on
that.

-kl

Reply via email to