redirectionio 3.1.0

Redirection IO Library to handle matching rule, redirect and filtering headers and body.
Documentation
{
  "example_count": 1,
  "failure_count": 1,
  "error_count": 0,
  "first_ten_failures": {
    "A": {
      "rule": {
        "id": "A",
        "source": {
          "scheme": "",
          "host": "",
          "ips": [],
          "path": "/",
          "query": "",
          "headers": [],
          "methods": [],
          "exclude_methods": null,
          "response_status_codes": [],
          "exclude_response_status_codes": null,
          "sampling": null
        },
        "target": "",
        "status_code": null,
        "rank": 3,
        "body_filters": [],
        "header_filters": [
          {
            "action": "add",
            "header": "location",
            "value": "toto",
            "id": "A:1",
            "target_hash": "header::location"
          }
        ],
        "log_override": null,
        "peer_override": null,
        "reset": null,
        "stop": null,
        "examples": [
          {
            "url": "/",
            "method": "GET",
            "headers": [],
            "ip_address": null,
            "response_status_code": 200,
            "must_match": true,
            "unit_ids_applied": [
              "A:1"
            ]
          }
        ],
        "redirect_unit_id": null,
        "configuration_log_unit_id": null,
        "configuration_reset_unit_id": null,
        "peer_unit_id": null,
        "target_hash": null
      },
      "failed_examples": [
        {
          "example": {
            "url": "/",
            "method": "GET",
            "headers": [],
            "ip_address": null,
            "response_status_code": 200,
            "must_match": true,
            "unit_ids_applied": [
              "A:1"
            ]
          },
          "rule_ids_applied": [
            "A",
            "B"
          ],
          "unit_ids_applied": [
            "B:1"
          ],
          "unit_ids_not_applied_anymore": [
            "A:1"
          ],
          "redirection_loop": null
        }
      ]
    }
  },
  "first_ten_errors": {}
}