Hi Stephan,

Thanks for moving this forward! Please go ahead! Here is the plan I have in
mind:

You should cut the reference to remove the matched extensions only. You
approach for quality levels sounds good to me as well.

For the Directory, you can probably leave it unchanged for now (it should
work equally well). Once the updated TunnelService is done, Thierry will
refactor the code to take advantage of it. It has some complex/touchy code
that you don't want to mess up with for now :-)

I've reassigned the RFE to you. Once you are done with your part, could you
reassign it to Thierry so he can complete the refactoring on
DirectoryResource and related classes?

If you are adventurous, you can always attempt a refactoring on Directory*
and attach a patch for Thierry to review ;-)

Best regards,
Jerome  

> -----Message d'origine-----
> De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Envoyé : mardi 25 mars 2008 18:36
> À : [email protected]
> Objet : extension mapping for media type and language
> 
> Hi Jerome,
> 
> can I start to implement the extension mapping? Or do we need more 
> discussion?
> 
> I'm not sure to cut the reference or not. We can switch it on 
> by default 
> and allow to switch it off.
> I will made both Reference variants available in the 
> request.attributes 
> map, and also the cut (or not cut) extensions.
> 
> FYI: JAX-RS requires to check and remove all extensions (e.g.: URI = 
> www.example.com/path/resource.html.abc.en will changed to 
> www.example.com/path/resource.abc and Accept: HTML and 
> Accept-Language: en).
> I also plan to allow ".html.pdf" and change it to "Accept: 
> text/html;q=1,application/odf;q=0.9" and so on.
> 
> I have to refactor also the Directory Restlet. I've never used it 
> before, so I don't know all capabilities of it. Do the 
> DirectoryTestCase 
> tests all of the capabilities?
> 
> best regards
>    Stephan

Reply via email to