Verify response header value.
Step pattern
Then (?:the response header|the header) "([^"]*)" should (?:be|contain) "([^"]*)"Examples
Example #1
Then the response header "Content-Type" should be "application/json"Example #2
Then the header "Cache-Control" should contain "no-cache"Example #3
Then the response header "Content-Type" should contain "charset=utf-8"Example #4
Then the header "X-Powered-By" should be "Webship.co"Example #5
Then the response header "ETag" should contain "etag"Example #6
Then the header "Location" should contain "/users/1"Example #7
Then the response header "Access-Control-Allow-Origin" should be "*"Example #8
Then the header "Content-Length" should contain "0"