added set http code to header