Updated getHeader() to selectively retrieve header parameters.

Updated getHeader() to selectively retrieve header parameters.