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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: