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

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

XMLWordPrintable

      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 (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: