[
https://issues.apache.org/jira/browse/STRATOS-1270?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mariangela Hills resolved STRATOS-1270.
---------------------------------------
Resolution: Not A Problem
Now as a status message is passed the 204 status code is no longer valid in
this scenario.
> Wrong HTTP output - DELETE /deploymentPolicies/{deploymentPolicyId}
> -------------------------------------------------------------------
>
> Key: STRATOS-1270
> URL: https://issues.apache.org/jira/browse/STRATOS-1270
> Project: Stratos
> Issue Type: Sub-task
> Components: REST API
> Affects Versions: 4.1.0 Alpha
> Reporter: Mariangela Hills
> Assignee: Mariangela Hills
>
> The following issues were identified when executing the DELETE HTTP method
> with the /deploymentPolicies/{deploymentPolicyId} REST API resource.
> # Normally the 204 HTTP status code should be returned when deleting.
> However, in this situation the 201 and 200 HTTP status codes are returned,
> which is incorrect.
> # When deleting an artifact the location header URL should not be returned.
> However, in this situation it is returned.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)