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

Accept header matching

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.3.14.Final
    • 2.3.7.Final
    • jaxrs
    • None

      Resteasy library is being very strict about the "Accepts" header matching. The ODta4J library when it defined the "$metadata" service it defined one of its "accept" headers as "application/xml;charset=utf-8".

      When client issues a "$metadata" call for metadata service, the client uses "application/xml" (omits the charset=utf-8) as its "accept" header, Resteasy while matching the requests it does not like it, it expects EXACTLY same header like "application/xml;charser=utf-8" not even allows different case of the header like "applicatoin/xml;charset=UTF-8"

              rsigal@redhat.com Ronald Sigal
              rhn-engineering-rareddy Ramesh Reddy
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: