tests: remove most user-agent filters

Use the %VERSION instead. The user-agent stripping was introduced at the
time before we had %VERSION (introduced in e6b21d4). The tests would
then remove the user-agent header to make them possible to be compared
in a version independent way.

Fixes #19355
Reported-by: Stefan Eissing
Closes #19356
This commit is contained in:
Daniel Stenberg 2025-11-04 11:22:32 +01:00
parent 70a11c6f06
commit 0783ef2348
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
37 changed files with 12 additions and 72 deletions

View file

@ -42,7 +42,6 @@ http://xxx:yyy@127.0.0.1:9000/%TESTNUMBER/testapi/test 127.0.0.1:9000:%HOSTIP:%H
# Verify data after the test has been "shot"
<verify>
<strip>
^User-Agent:.*
^Content-Length:.*
^Accept:.*
</strip>