added http code configuration