On 2010-12-02 04.03, Thierry Boileau wrote:
> the current algorithm implemented in ConnegUtils#getPreferredMetadata
> was a bit restrictive. It checked the presence of the preference (in
> this case "*/*") inside the given list of supported metadatas. Having
> said that, I'm quite confused. I'm not sure it will fit your need,
> because it returns a metadata taken from the list of preferences (in
> your case "*/*"), not from the supported ones, which seems in
> contradiction with the javadocs...

It needs to return a MediaType from the supported list, not the accepted 
ones (which could be generic, i.e. "*/*").

/Rickard

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

Reply via email to