Uploaded image for project: 'Abdera'
  1. Abdera
  2. ABDERA-175

Default return status for unimplemented functions is incorrect

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 0.4.0, 1.0
    • 1.0
    • 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.

      Attachments

        1. notAllowed.patch
          3 kB
          David Calavera

        Activity

          People

            Unassigned Unassigned
            jancona James P. Ancona
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: