Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-586

Allow 405 Method Not Allowed when attempting to delete a non-nullable value

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_CS02
    • Fix Version/s: V4.0_ERRATA01
    • Component/s: Protocol
    • Labels:
      None
    • Environment:

      [Applied]

    • Proposal:
      Hide

      Define 405 Method Not Allowed as an alternative to 400 Bad Request for attempting to delete a non-nullable resource.

      Show
      Define 405 Method Not Allowed as an alternative to 400 Bad Request for attempting to delete a non-nullable resource.

      Description

      According to 11.4.9.2 in [Core], A DELETE request to a non-nullable value MUST fail and the service respond with 400 Bad Request.

      An equally good response code would be 405 Method Not Allowed.

        Attachments

          Activity

            People

            • Assignee:
              mikep Michael Pizzo
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: