add parameter requestHeaders
code refactor
set default headers in init action; override headers in configure action