I get 204 on my system:
$ 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 Vary: X-Auth-Token Content-Length: 0 Date: Thu, 15 Jan 2015 00:04:03 GMT
$ 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 Vary: X-Auth-Token Content-Length: 0 Date: Thu, 15 Jan 2015 00:04:20 GMT
$ 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 Vary: X-Auth-Token Content-Length: 0 Date: Thu, 15 Jan 2015 00:05:04 GMT
Why are you getting Content-Length: 334 ? I don't think there can be any content.
I get 204 on my system:
$ 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
Vary: X-Auth-Token
Content-Length: 0
Date: Thu, 15 Jan 2015 00:04:03 GMT
$ 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
Vary: X-Auth-Token
Content-Length: 0
Date: Thu, 15 Jan 2015 00:04:20 GMT
$ 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
Vary: X-Auth-Token
Content-Length: 0
Date: Thu, 15 Jan 2015 00:05:04 GMT
Why are you getting Content-Length: 334 ? I don't think there can be any content.