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

MultivaluedMap request body (form urlencoded) should not be 'null'

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 3.0.7.Final
    • 3.0.5.Final, 3.0.6.Final
    • jaxrs
    • None

      @POST
      @Consumes(MediaType.APPLICATION_FORM_URLENCODED)
      public Response post(MultivaluedMap<String, String> params)
      

      In this method, params can be injected as null if the request has a Content-Length: 0 header. I'd expect an empty map.

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

                Created:
                Updated:
                Resolved: