Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-1735

Predicate Language response-code handler doesn't allow custom status text

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • 2.4.0.Final
    • 2.1.3.Final
    • Core, Predicate Language
    • None

    Description

      Using the predicate language with the response-code() handler does not provide a way to set the status text to return.

      path('/secret') -> response-code(403)
      

      It would be nice to allow something like this: 

      path('/secret') -> response-code(value=403,text='go away')
      

       

      Attachments

        Activity

          People

            rhn-cservice-bbaranow Bartosz Baranowski
            bdw429s Brad Wood
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: