get header and status in page