[
https://issues.apache.org/jira/browse/SLING-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047828#comment-13047828
]
Justin Edelson edited comment on SLING-2101 at 6/11/11 3:04 AM:
----------------------------------------------------------------
implemented in r1134511 along with a general integration test for
sling:vanityPath
property name is sling:redirectStatus
was (Author: justinedelson):
implemented in r1134511
> add support for returning a 301 response code instead of a 302 when using
> sling:vanityPath & sling:redirect
> -----------------------------------------------------------------------------------------------------------
>
> Key: SLING-2101
> URL: https://issues.apache.org/jira/browse/SLING-2101
> Project: Sling
> Issue Type: New Feature
> Components: JCR
> Reporter: Justin Edelson
> Assignee: Justin Edelson
> Fix For: JCR Resource 2.0.12
>
>
> Currently, if sling:redirect is set on a node with sling:vanityPath, the
> response code is always 302. We should add a way to specify the response code
> if someone wants to return a 301 (or something else) instead.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira