You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was trying to test out the response headers. And the response header is something like "X-TV-subscriptionId": "12345678", and I tried to expect_header "X-TV-subscriptionId", "12345678" and it returns false, it will return true only if I do expect_header "x_tv_subscriptionid", "12345678".
Wondering is this behaviour intended? As headers are case sensitives anyway, case switch is not an issue for me. But converting hyphen into underscore is breaking my test.
Many thanks in advance.
Update: looks like even expect_header :X_tv_subscriptionid, "12345678" will return a false? The downscore is not working?
The text was updated successfully, but these errors were encountered:
Hi, I was trying to test out the response headers. And the response header is something like
"X-TV-subscriptionId": "12345678"
, and I tried toexpect_header "X-TV-subscriptionId", "12345678"
and it returns false, it will return true only if I doexpect_header "x_tv_subscriptionid", "12345678"
.Wondering is this behaviour intended? As headers are case sensitives anyway, case switch is not an issue for me. But converting hyphen into underscore is breaking my test.
Many thanks in advance.
Update: looks like even
expect_header :X_tv_subscriptionid, "12345678"
will return a false? The downscore is not working?The text was updated successfully, but these errors were encountered: