[#7525] made Bearer prefix case-insensitive

This commit is contained in:
Gani Georgiev
2026-02-14 11:19:13 +02:00
parent 23ca5a77e1
commit bc72525013
4 changed files with 29 additions and 5 deletions

View File

@@ -232,7 +232,8 @@ func (scenario *ApiScenario) test(t testing.TB) {
// set scenario headers
for k, v := range scenario.Headers {
req.Header.Set(k, v)
// trim whitespaces for consistency with the net/http request parsing
req.Header.Set(k, strings.TrimSpace(v))
}
// execute request