Hi,

When an undefined _type parameter is used for JAX-RS requests (e.g., 
?_type=foo), it doesn't give any warning logs. It just returns 406 http error 
code.
It seems better to give a proper warning log in 
o.a.cxf.jaxrs.impl.RequestPreprocessor#handleTypeQuery() method in that case.
Also, it currently uses the invalid type as Accept header even though there's 
no shortcut registered for the type parameter value.
Shall I create an JIRA issue with a patch for this?

Kind regards,

Woonsan

Reply via email to