Uploaded image for project: 'AeroGear'
  1. AeroGear
  2. AEROGEAR-1078

When specifying produces in a route, does not take q=x into consideration in http accept headers

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Won't Do
    • Icon: Major Major
    • 1.3.0
    • 1.0.0
    • controller
    • Local/Eclipse and OpenShift

      When checking http headers against what is defined in produces in a route, the DefaultRoute.java class doesn't appear to take q=x into consideration. For example, an accept header can look like so:
      Accept: application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,/;q=0.5

      A good reference: http://www.gethifi.com/blog/browser-rest-http-accept-headers

              danielpassos Daniel Passos (Inactive)
              iampowers_jira Nick Powers (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: