Abdera
  1. Abdera
  2. ABDERA-175

Default return status for unimplemented functions is incorrect

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.4.0, 1.0
    • Fix Version/s: 1.0
    • Labels:
      None

      Description

      Most of the unimplemented cases in AbstractProvider and AbstractCollectionAdapter call ProviderHelper.notsupported(), which returns an HTTP status of 415 - Media type not supported. So an HTTP PUT or DELETE on a collection URI, or a POST to an Entry URI returns 415. It seems to me that something like 405 Method not allowed would be clearer.

      1. notAllowed.patch
        3 kB
        David Calavera

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Jim Ancona
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development