Uploaded image for project: 'CRISP'
  1. CRISP
  2. CRISP-46

[Backport 12.2] Handling unsupported HttpMethods in provided ResourceResolvers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.1
    • Labels:
      None
    • Similar issues:

      Description

      In the bundled ResourceResolver implementations (SimpleJacksonRestTemplateResourceResolver and SimpleJdomRestTemplateResourceResolver), only "GET" and "POST" HTTP methods are supported. If a user passes an unsupported method (such as "PUT" or "DELETE"), it will default to "GET" and either return an unexpected result or throw a RestClientException. It would be better if they can give a more specific error message in this case, or support these additional Http Methods.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                wko Woonsan Ko
                Reporter:
                wko Woonsan Ko
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: