[ 
https://issues.apache.org/jira/browse/SLING-723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12654432#action_12654432
 ] 

Felix Meschberger commented on SLING-723:
-----------------------------------------

See also http://markmail.org/message/6an5o5d5pup6dydy

Adding functionality to the DefaultGetServlet as follows:

 * Add settings to selectively switch off default HTML, TXT, JSON and XML 
renderings
   By default all settings are such that rendering is enabled (for backwards 
compatibility expectations)

 * Enhancing StreamRenderServlet:
       - add support to automatically draw index listing (analogous to httpd 
Options Index)
       - add support to include index file (analogous to httpd DirectoryIndex)
       - defaults: automatically draw index: off, index files: [ index, 
index.html ]

 * send 403/FORBIDDEN if there is no renderer or index listing is not allowed
   (currently 500/INTERNAL SERVER ERROR is sent if no renderer exists)

> Add configuration to default GET servlet to produce other kinds of responses.
> -----------------------------------------------------------------------------
>
>                 Key: SLING-723
>                 URL: https://issues.apache.org/jira/browse/SLING-723
>             Project: Sling
>          Issue Type: Improvement
>          Components: Servlets Get
>            Reporter: Tobias Bocanegra
>            Assignee: Felix Meschberger
>
> it would be desirable to configure the default behavior for the default GET 
> servlet. eg:
> report=dump -> wil generate some sort of dump (as it does today)
> report=dirlisting -> will generate a dir listing of the subnodes.
> report={number}   -> send an error, eg: 403

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to