anonymous-bugs opened a new issue, #12335:
URL: https://github.com/apache/trafficserver/issues/12335

   Does this txn_box example work?
   
   txn_box:
   - when: upstream-rsp
     do:
     - with: [ upstream-rsp-status , proxy-req-path ]
       select:
       - as-tuple:
         - eq: 404
         - match: "example"
         do:
         - debug: "Resetting upstream response"
         - upstream-rsp-status: [ 200 , "OK" ]
         - upstream-rsp-field<Cache-Control>: "max-age=3600"
   
   Error: 
       While parsing as-tuple comparison at Line 5.
       While loading "with" directive at Line 3 in "select" at Line 5.
       While parsing directive at Line 3.
       While loading directives at Line 3.
   
   When i also use 
   - with: upstream-rsp-status
     select:
     - eq: 200
   
    It gives error. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to