WebTestClient - expecting lack of header [SPR-16379] #20925
Labels
in: test
Issues in the test module
status: duplicate
A duplicate of another issue
type: enhancement
A general enhancement
Maciej Szarlinski opened SPR-16379 and commented
EDIT: it has been added in 5.0.3 already
There is no way to verify whether response header is missing using WebTestClient, apparently HeaderAssertions has no suitable method for that.
It would be nice to enhance HeaderAssertions API adding doesNotContain(headerName) method.
Issue Links:
The text was updated successfully, but these errors were encountered: