fix doc
use default redirect status code
fix redirect tests