rokit

Redirection Optimization Kit


Keywords
url, redirection, redirect, verify, test, tests
License
GPL-3.0
Install
pip install rokit==0.1.2

Documentation

Rokit: Redirection Optimization Kit

PyPI version License: GPL v3 Build Status codecov Codacy Badge Python versions

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.

Usage

Installation

Install via pip:

pip install rokit

Usage

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/

License

License