Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-947

Response#getAllowedMethods() is broken

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.0.5.Final
    • 3.0.3.Final
    • None
    • None

    Description

      Response response = Response.status(Response.Status.OK).allow("GET", "POST", "DELETE").build();
      assertEquals(response.getAllowedMethods().size(), 3);
      // Actual: 1
      

      Attachments

        Activity

          People

            patriot1burke@gmail.com Bill Burke (Inactive)
            christian.bauer_jira Christian Bauer (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: