Hi,

On 09.04.2010 23:09, Luca Masini wrote:
> Hi, I'm asking why the RequestDispatcherOptions is designed not to allow the
> changing of the extension.

The idea was, that the extension conveys intents of the requester
regarding the content type of the response. We thought that we should
not allow for overwriting this intent while handling the request.

(yet using the request dispatcher in creative ways, we cannot prevent
this from happening)

> 
> I also saw in the merge method of the SlingRequestPathInfo that the
> extension is taken from the instance variable and I can't merge with a
> changing extension.
> 
> What would be wrong in a request that change extension ??
> 

We also found that it might be helpful to have this extension on one or
two occasions, but never actually did it.

Might be a good point in time to reconsider ...

Regards
Felix

Reply via email to