custom header support

custom header support