Rodrigo - The return for a GET request is already the same as the HEAD request. It's 204 No Content. This is what I posted in comment 6:
$ curl -i -H "X-Auth-Token: $TOKEN" http://localhost:5000/v3/OS-INHERIT/domains/default/users/$USER_ID/roles/$ROLE_ID/inherited_to_projects HTTP/1.1 204 No Content
$ curl -i -I -H "X-Auth-Token: $TOKEN" http://localhost:5000/v3/OS-INHERIT/domains/default/users/$USER_ID/roles/$ROLE_ID/inherited_to_projects HTTP/1.1 204 No Content
$ curl -i -X HEAD -H "X-Auth-Token: $TOKEN" http://localhost:5000/v3/OS-INHERIT/domains/default/users/$USER_ID/roles/$ROLE_ID/inherited_to_projects HTTP/1.1 204 No Content
Rodrigo - The return for a GET request is already the same as the HEAD request. It's 204 No Content. This is what I posted in comment 6:
$ curl -i -H "X-Auth-Token: $TOKEN" http:// localhost: 5000/v3/ OS-INHERIT/ domains/ default/ users/$ USER_ID/ roles/$ ROLE_ID/ inherited_ to_projects
HTTP/1.1 204 No Content
$ curl -i -I -H "X-Auth-Token: $TOKEN" http:// localhost: 5000/v3/ OS-INHERIT/ domains/ default/ users/$ USER_ID/ roles/$ ROLE_ID/ inherited_ to_projects
HTTP/1.1 204 No Content
$ curl -i -X HEAD -H "X-Auth-Token: $TOKEN" http:// localhost: 5000/v3/ OS-INHERIT/ domains/ default/ users/$ USER_ID/ roles/$ ROLE_ID/ inherited_ to_projects
HTTP/1.1 204 No Content