Hi!

I'm using Restlet 2.0.4 with JacksonConverterService
The problem is that this configuration only accepts request with
"Content-type application/json"
Is there a way to ignore the content-type a parse anyway the body as
application/json?

I tried changing in the doinit and constructor serverResource methods
request.getattributes.get(headers) the content type but there was no
difference. Also I tried addind the variant but same problem
I get method not supported.

Thanks!
-- 
View this message in context: 
http://restlet-discuss.1400322.n2.nabble.com/Changing-content-type-tp6036044p6036044.html
Sent from the Restlet Discuss mailing list archive at Nabble.com.

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2705059

Reply via email to