RE: [Restlet] ?media= only available for registered types

2009-02-18 Thread Jerome Louvel
Hi Paul,
 
Good suggestion. The enhancement is in SVN trunk!
 
Let me know if it works as expected.
 
Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~  http://www.restlet.org/ 
http://www.restlet.org
Noelios Technologies ~ Co-founder ~  http://www.noelios.com 
http://www.noelios.com

 
  _  

De : Paul Austin [mailto:mail-li...@revolsys.com] 
Envoye : mardi 17 fevrier 2009 18:26
A : discuss@restlet.tigris.org
Objet : [Restlet] ?media= only available for registered types


I've been looking at the TunnerlFilter and have noticed that the 
?media=mediaType query string extension only works if the media
type is registered as a MetadataExtension with the the MetadataService. Is this 
by design?Or would it be possible if a metadata
entry was not found to set the mediaType based on the value passed in?

Cheers,
Paul

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

[Restlet] ?media= only available for registered types

2009-02-17 Thread Paul Austin
I've been looking at the TunnerlFilter and have noticed that the
?media=mediaType query string extension only works if the media type is
registered as a MetadataExtension with the the MetadataService. Is this by
design?Or would it be possible if a metadata entry was not found to set the
mediaType based on the value passed in?

Cheers,
Paul

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