Reffering to https://developers.google.com/analytics/devguides/collection/protocol/v1/parameters#dh, hostname param is an optional param for "Supported Hit Types: ALL". So imo it should be available for all hit types or for none. I don't know why you allow it only for pageview hit type.