You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Philip Luppens (Commented) (JIRA)" <ji...@apache.org> on 2011/11/28 14:14:39 UTC

[jira] [Commented] (WW-3713) Allow results from POST and restore compatibility with struts-rest-plugin version 2.2.1

    [ https://issues.apache.org/jira/browse/WW-3713?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13158414#comment-13158414 ] 

Philip Luppens commented on WW-3713:
------------------------------------

I cannot really comment on the issue (since I'm not using the REST plugin), but I do not see a reason to be too uptight about 'valid' REST practices (as in: we need to advocate it, but it should be possible to (ab)use a certain feature if you want/need to, esp. if it was published before and removed without deprecation warning). Anyways, as always, a patch goes a long way, and has a greater likelihood of getting accepted if it's accompanied by some tests and documentation.
                
> Allow results from POST and restore compatibility with struts-rest-plugin version 2.2.1
> ---------------------------------------------------------------------------------------
>
>                 Key: WW-3713
>                 URL: https://issues.apache.org/jira/browse/WW-3713
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Plugin - REST
>    Affects Versions: 2.2.3
>            Reporter: Kristof Vanbecelaere
>            Priority: Blocker
>             Fix For: 2.2.x
>
>         Attachments: WW-3713-1.patch
>
>
> Some time ago I posted a message on the mailing list but got no reply. See http://struts.1045723.n5.nabble.com/struts-rest-plugin-2-2-3-result-from-POST-td4469274.html
> We really would like to update to newer versions of Struts and benefit from the security fixes but we absolutely care about backward-compatibility. We are aware that it is not a "valid" REST practice to return results from POST operations and we wish we had not done so in the first place. Unfortunately, to remain backward compatible we have no choice. Do you see a way to restore the 2.2.1 behavior to allow us to remain backward-compatible?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira