Handles major http ops