You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Luciano Resende (JIRA)" <de...@tuscany.apache.org> on 2010/06/24 00:46:51 UTC

[jira] Created: (TUSCANY-3607) REST binding should be able to handle different HTTP status code for different HTTP operations

REST binding should be able to handle different HTTP status code for different HTTP operations
----------------------------------------------------------------------------------------------

                 Key: TUSCANY-3607
                 URL: https://issues.apache.org/jira/browse/TUSCANY-3607
             Project: Tuscany
          Issue Type: Bug
          Components: Java SCA Misc Binding Extensions
    Affects Versions: Java-SCA-2.0-M5
            Reporter: Luciano Resende
             Fix For: Java-SCA-2.0


REST style services might have a requirement to handle different type of HTTP status code 

POST -> create a resource and return 201 with maybe the resource location 
PUT -> update a resource and return 200 or 204
DELETE -> 204 Empty result
etc

This might be configurable based on what the client is expecting (some clients only distinguish from 200 or not)

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