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

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

    XMLWordPrintable

Details

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

    Description

      @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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: