use correct class for value returned for request headers