code: def _getHeaders(self, updateParams=None):
  		
  		if not updateParams:
  			updateParams = {}
  		policies = self.defaultPolicies
  		if len(updateParams) > 0:
  			for k,v in updateParams.items():
  				k = k.replace('-','_')
  				c = globals()[k](v)
  				try:
  					policies[k] = c.update_policy(self.defaultPolicies[k])
  				except Exception, e:
  					raise
  
  		return [globals()[k](v).create_header()
  				for k,v in policies.items() if v is not None]
docs: create headers list for flask wrapper