def read_resp_data(service_name, implementation_name, url, response):
    """
    Read the (DELETE, PATCH, POST, PUT) response body and header if exist.
    """
    RR = _mockdata_path_root(service_name, implementation_name)
    for resource_dir in app_resource_dirs:
        path = os.path.join(resource_dir['path'],
                            service_name,
                            implementation_name)
        found_header = _read_resp_header(path, url, response)
        found_body = _read_resp_body(path, url, response)
        if found_body or found_header:
            return response
    response.status = 404
    return response