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

DefaultRoute matches should take into consideration Accept: */* headers

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.M7
    • 1.0.0.M7
    • controller
    • None

      We've add a produces() method to route which can be used to specify what the route in question produces. If not specified the default will be "text/html". But if a client sends a request containing an Accept header of '/' it would not match the route.
      This task should take into consideration an Accept header of any and make a positiv match.

              dbeveniu Daniel Bevenius (Inactive)
              dbeveniu Daniel Bevenius (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: