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

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

      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() {}

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

                Created:
                Updated:
                Resolved: