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

a POST/PUT with null Content-Type should only match an empty @Consumes method

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • None
    • None
    • None
    • None

    Description

      A POST or PUT with empty body should only match a method with no consumes or a wildcard:

      @POST
      public void postNada() {}

      @POST
      @Consumes("/")
      pubic void postNada() {}

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: