Follow Location: header on 301 and 302 return code