Hi, would it make sense to open a Jira issue?
I'm interested in getting this fixed and also interested in getting a better separation of JAX-RS runtime classes if an other implementation like Jersey is reachable by classloader. Regards, Stephan -----Original Message----- From: K Fung <[email protected]> Reply-To: "[email protected]" <[email protected]> Date: Tue, 31 Jan 2012 18:07:05 +0100 To: "[email protected]" <[email protected]> Subject: Re: Jersey / CXF compatibility >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
