bneradt commented on code in PR #13024:
URL: https://github.com/apache/trafficserver/pull/13024#discussion_r3047787253
##########
tests/gold_tests/pluginTest/header_rewrite/header_rewrite_bundle.replay.yaml:
##########
@@ -314,7 +314,57 @@ sessions:
- [ X-Testing, { value: "elif", as: equal } ]
- [ X-Pre-Else, { as: absent } ]
- # Test 6: cond method GET
+ # Test 6: quoted set matching - second item "bar" should match
+- transactions:
+ - client-request:
+ method: "GET"
+ version: "1.1"
+ url: /from_1/hrw-sets.png
+ headers:
+ fields:
+ - [ Host, www.example.com ]
+ - [ X-Quoted-Set, "bar" ]
Review Comment:
Is `"bar"` really quoted by the time this traffic is replayed? I think yaml
will just see this as a string, right? Might need to escape the quotes:
```yaml
- [ X-Quoted-Set, "\"bar\|" ]
```
--
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]