handling redirects response (300-399) in jaggery console app