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

Details

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

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: