Case-insensitive string comparison

Hello,

I’m trying to figure out how to perform case-insensitive string comparison in the below check but without much luck:

.check(status.is(302), header("Location").is("/${serviceUrl}/"))

Any words of advice?

Regards,

Roman

Maybe late but for future users, you could do it like this :

.check([status.is](http://status.is/)(302), header("Location").transform(result => result.toLowerCase()).is("/${serviceUrl}/"))