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

Update Routes in ag-controller-demo to specify produces '*/*'

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Obsolete
    • Icon: Major Major
    • 1.0.0.M7
    • 1.0.0.M7
    • controller , examples
    • 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 change it just for the demo and a JIRA for a fix in the controller will also be added.

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

                Created:
                Updated:
                Resolved: