Fixing a bug so response headers get emptied out.