anyStatus

fun anyStatus(first: Status, vararg rest: Status): StatusMatcher(source)

Matches any of the provided HTTP statuses.

Return

matcher that succeeds when the response status is contained in the provided set.

Parameters

first

status that must always be matched.

rest

additional statuses that will be included in the matcher.

See also