docs response: fix redirect for correctness

do we want to check if the body is already set?