Redirection Optimization Kit
Rokit: Redirection Optimization Kit
Rokit (Redirection Optimization Kit) is a CLI tool to help wed admin/developer to test or optimize URL redirection. It's easy to integrate into your CI as smoke test and regression test for redirection testing.
Install via pip:
pip install rokit
Get a redirection chain:
$ rokit http://www.github.com Redirect 2 time(s): http://www.github.com -> https://www.github.com/ -> https://github.com/
Verify if a url is in redirection chain:
$ rokit http://www.github.com https://www.github.com Redirect 2 time(s): http://www.github.com -> https://www.github.com/ -> [https://github.com/] [PASS] Request to http://www.github.com will redirect to https://github.com/
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for rokit-0.1.2-py2.py3-none-any.whl