add debug printout of response headers