document "headers" event