[
https://issues.apache.org/jira/browse/OLINGO-908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramesh Reddy resolved OLINGO-908.
---------------------------------
Resolution: Fixed
Refactored code to check the valid method, and return "Allow" header with valid
HTTP verbs allowed on the particular resource when 405 is being issued.
> "Method Not Allowed" response must include allowed methods
> ----------------------------------------------------------
>
> Key: OLINGO-908
> URL: https://issues.apache.org/jira/browse/OLINGO-908
> Project: Olingo
> Issue Type: Bug
> Components: odata4-server
> Affects Versions: (Java) V4 4.0.0-beta-01
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Fix For: (Java) V4 4.2.0
>
>
> Based on [1] when service sends 405, it MUST include "Allow" header with
> allowed methods. "server-core-ext" does not send this header currently.
> [1]
> http://docs.oasis-open.org/odata/odata/v4.0/errata02/os/complete/part1-protocol/odata-v4.0-errata02-os-part1-protocol-complete.html#HTTPSemantic
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)