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

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

XMLWordPrintable

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

      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')
      

       

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

                Created:
                Updated: