[
https://issues.apache.org/jira/browse/SLING-2101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13047824#comment-13047824
]
Justin Edelson commented on SLING-2101:
---------------------------------------
have this implemented locally, but it looks like we don't have any integration
tests for sling:vanityPath, so I'm going to add those before committing this.
> 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
>
> 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