Uploaded image for project: 'apiman (API Management)'
  1. apiman (API Management)
  2. APIMAN-261

Policies cannot set the HTTP response code

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.0.x, 1.0.2.Final
    • None
    • None
    • None

    Description

      The only supported response codes are currently 401, 404, and 500. These are driven by the policy failure type enum. In addition to these, we should allow policies to set whatever they choose. In particular the rate limiting policy could set the http response code to 429.

      http://tools.ietf.org/html/rfc6585#section-4

      Attachments

        Issue Links

          Activity

            People

              ewittman@redhat.com Eric Wittmann
              ewittman@redhat.com Eric Wittmann
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: