In my ServerResource impl (on official restlet 2.0.0 GAE edition) I've got two 
annotated methods:

@Get("json")
public Representation getJson() { ...

and

@Get("html")
public Representation getHtml()  { ...

When testing the resource with:

curl -v -H 'Accept: application/json'

the result is that getHtml is called returning text/plain

So it seems the annotaion/negotiation isn't working... what could be causing 
this?

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

Reply via email to