suppress unnecessary stacktrace when http status code is redirect related.
Merge pull request #3019 from dchen1107/cleanup

suppress unnecessary stacktrace when http status code is redirect relate...