fix redirect header, add partial helper, close #8
sleep a bit more for travis-ci