You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Bertrand Delacretaz (JIRA)" <ji...@apache.org> on 2016/08/22 06:39:21 UTC
[jira] [Commented] (SLING-5925) Improve RedirectServlet response
[ https://issues.apache.org/jira/browse/SLING-5925?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15430133#comment-15430133 ]
Bertrand Delacretaz commented on SLING-5925:
--------------------------------------------
Note that this change has been reverted by [~asanso] in revision 1754561, so there are no code changes releated to this for Servlets Get 2.1.18
> Improve RedirectServlet response
> --------------------------------
>
> Key: SLING-5925
> URL: https://issues.apache.org/jira/browse/SLING-5925
> Project: Sling
> Issue Type: Improvement
> Components: Servlets
> Affects Versions: Servlets Get 2.1.14
> Reporter: Antonio Sanso
> Assignee: Antonio Sanso
> Priority: Minor
> Fix For: Servlets Get 2.1.18
>
>
> The {{RedirectServlet}} response does currently
> {code}
> response.setHeader("Location", targetPath);
> {code}
> it would be nice to use the standard
> {code}
> response.sendRedirect(targetPath);
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)