added option to stub header's response