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

Bug with quality factor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 1.1.GA
    • None
    • None
    • None

      @Produces(

      { MediaType.APPLICATION_JSON, MediaType.APPLICATION_XML }

      )

      On Tue, May 19, 2009 at 10:30 AM, Bill Burke <bburke@redhat.com> wrote:

      What does your class look like? (@Produces annotations specifically)

      Jamie Johnson wrote:

      but does it process them accordingly? I had tried something like

      accept: application/xml; q=0.5, application/json; q=0.8
      and I always get back xml. I had thought that this should return JSON based on the quality factor.

              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: