do not use kwargs for headers callback