zwoop commented on code in PR #12869:
URL: https://github.com/apache/trafficserver/pull/12869#discussion_r2819020936
##########
doc/admin-guide/configuration/hrw4u.en.rst:
##########
@@ -158,7 +176,7 @@ Syntax Free-form
Structured `if (...) { ... }`
Conditions `cond %{...}` Implicit in `if (...)`
Operators Raw text (`set-header`) Structured assignments or
statements
Grouping `GROUP` / `GROUP:END` Use `()` inside `if`
expressions
-Else branches `else` with indented ops `else { ... }` with full
block
+Else branches `else` with indented ops `elif { ... }` and `else {
... }` with full blocks
Review Comment:
no, please avoid unnecessary ()'s, because they will always add a %{GROUP}.
hrw4u does not require any () for simple expressions.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]