Honor redirect setting in the defaults
Python 3.3 compatibility