headers.ready() callback