added functionality to perform retrieval of custom headers