function validateContentTypeInResponse(action) {
    for (const transaction of action.transactions || []) {
      const res = lodash.get(transaction, 'response.headers');
      const str = JSON.stringify(res);
      return _validResponseHeader(str, 'Content-Type');
      }
    return false;
    }
/*
    Validates that Content-Type is part of response headers
  @targets: Action
  @minim: true
  */
Validates that Content-Type is part of response headers
Validates that Content - Type is part of response headers
function validateContentTypeInResponse(action) {
    for (const transaction of action.transactions || []) {
      const res = lodash.get(transaction, 'response.headers');
      const str = JSON.stringify(res);
      return _validResponseHeader(str, 'Content-Type');
      }
    return false;
    }
function validateContentTypeInResponse ( action ) { for ( const transaction of action . transactions || [ ] ) { const res = lodash . get ( transaction , 'response.headers' ) ; const str = JSON . stringify ( res ) ; return _validResponseHeader ( str , 'Content-Type' ) ; } return false ; }
Validates that Content-Type is part of response headers
Validates that Content - Type is part of response headers