Allow redirect status to be specified