zwoop opened a new pull request, #12304: URL: https://github.com/apache/trafficserver/pull/12304
This adds an elif clause to the conditions. E.g. ``` cond %{SEND_RESPONSE_HDR_HOOK} [AND] cond %{CLIENT-HEADER:X-Foo} ="foo" set-header X-Resp "foo" elif cond %{CLIENT-HEADER:X-Foo} ="bar" set-header X-Resp "bar" elif cond %{CLIENT-HEADER:X-Foo} ="baz" set-header X-Resp "baz" else set-header X-Resp "else" ``` In addition, this cleans up the handling of the existing "else" clause, and I ran clang-tidy over the two files I was editing. Co-author: Miles L. -- 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: github-unsubscr...@trafficserver.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org