move status setting into http class