[
  {
    "enabled": 1,
    "version_min": 300000,
    "title": "Testing Variables :: REQUEST_HEADERS_NAMES",
    "client": {
      "ip": "200.249.12.31",
      "port": 123
    },
    "server": {
      "ip": "200.249.12.31",
      "port": 80
    },
    "request": {
      "headers": {
        "Host": "localhost",
        "User-Agent": "curl/7.38.0",
        "Accept": "*/*",
        "Content-Length": "523",
        "Content-Type": "multipart/form-data; boundary=------------------------756b6d74fa1a8ee2",
        "Expect": "100-continue"
      },
      "uri": "/",
      "method": "POST",
      "body": [
        "--------------------------756b6d74fa1a8ee2\r\n",
        "Content-Disposition: form-data; name=\"name\"\r\n",
        "\r\n",
        "test\r\n",
        "--------------------------756b6d74fa1a8ee2\r\n",
        "Content-Disposition: form-data; name=\"filedata\"; filename=\"small_text_file.txt\"\r\n",
        "Content-Type: text/plain\r\n",
        "\r\n",
        "This is a very small test file..\r\n",
        "--------------------------756b6d74fa1a8ee2\r\n",
        "Content-Disposition: form-data; name=\"filedata\"; filename=\"small_text_file.txt\"\r\n",
        "Content-Type: text/plain\r\n",
        "\r\n",
        "This is another very small test file..\r\n",
        "--------------------------756b6d74fa1a8ee2--\r\n"
      ]
    },
    "response": {
      "headers": {
        "Date": "Mon, 13 Jul 2015 20:02:41 GMT",
        "Last-Modified": "Sun, 26 Oct 2014 22:33:37 GMT",
        "Content-Type": "text/html",
        "Content-Length": "8"
      },
      "body": [
        "no need."
      ]
    },
    "expected": {
      "debug_log": "Target value: \"Host\" \\(Variable: REQUEST_HEADERS_NAMES:Host\\)",
      "http_code": 200
    },
    "rules": [
      "SecRuleEngine On",
      "SecRule REQUEST_HEADERS_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
    ]
  },
  {
    "enabled": 1,
    "version_min": 300000,
    "title": "Testing Variables :: REQUEST_HEADERS_NAMES",
    "client": {
      "ip": "200.249.12.31",
      "port": 123
    },
    "server": {
      "ip": "200.249.12.31",
      "port": 80
    },
    "request": {
      "headers": {
        "Host": "localhost",
        "User-Agent": "curl/7.38.0",
        "Accept": "*/*",
        "Content-Length": "493",
        "Content-Type": "multipart/form-data; boundary=------------------------756b6d74fa1a8ee2",
        "Expect": "100-continue"
      },
      "uri": "/",
      "method": "POST",
      "body": [
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"name\"",
        "",
        "test",
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"filedata\"; filename=\"small_text_file.txt\"",
        "Content-Type: text/plain",
        "",
        "This is a very small test file..",
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"filedata\"; filename=\"small_text_file.txt\"",
        "Content-Type: text/plain",
        "",
        "This is another very small test file..",
        "--------------------------756b6d74fa1a8ee2--"
      ]
    },
    "response": {
      "headers": {
        "Date": "Mon, 13 Jul 2015 20:02:41 GMT",
        "Last-Modified": "Sun, 26 Oct 2014 22:33:37 GMT",
        "Content-Type": "text/html",
        "Content-Length": "8"
      },
      "body": [
        "no need."
      ]
    },
    "expected": {
      "debug_log": "Target value: \"User-Agent\" \\(Variable: REQUEST_HEADERS_NAMES:User-Agent\\)",
      "http_code": 200
    },
    "rules": [
      "SecRuleEngine On",
      "SecRule REQUEST_HEADERS_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
    ]
  },
  {
    "enabled": 1,
    "version_min": 300000,
    "title": "Testing Variables :: REQUEST_HEADERS_NAMES",
    "client": {
      "ip": "200.249.12.31",
      "port": 123
    },
    "server": {
      "ip": "200.249.12.31",
      "port": 80
    },
    "request": {
      "headers": {
        "Host": "localhost",
        "User-Agent": "curl/7.38.0",
        "Accept": "*/*",
        "Content-Length": "493",
        "Content-Type": "multipart/form-data; boundary=------------------------756b6d74fa1a8ee2",
        "Expect": "100-continue"
      },
      "uri": "/",
      "method": "POST",
      "body": [
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"name\"",
        "",
        "test",
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"filedata\"; filename=\"small_text_file.txt\"",
        "Content-Type: text/plain",
        "",
        "This is a very small test file..",
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"filedata\"; filename=\"small_text_file.txt\"",
        "Content-Type: text/plain",
        "",
        "This is another very small test file..",
        "--------------------------756b6d74fa1a8ee2--"
      ]
    },
    "response": {
      "headers": {
        "Date": "Mon, 13 Jul 2015 20:02:41 GMT",
        "Last-Modified": "Sun, 26 Oct 2014 22:33:37 GMT",
        "Content-Type": "text/html",
        "Content-Length": "8"
      },
      "body": [
        "no need."
      ]
    },
    "expected": {
      "debug_log": "Target value: \"Accept\" \\(Variable: REQUEST_HEADERS_NAMES:Accept\\)",
      "http_code": 200
    },
    "rules": [
      "SecRuleEngine On",
      "SecRule REQUEST_HEADERS_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
    ]
  },
  {
    "enabled": 1,
    "version_min": 300000,
    "title": "Testing Variables :: REQUEST_HEADERS_NAMES",
    "client": {
      "ip": "200.249.12.31",
      "port": 123
    },
    "server": {
      "ip": "200.249.12.31",
      "port": 80
    },
    "request": {
      "headers": {
        "Host": "localhost",
        "User-Agent": "curl/7.38.0",
        "Accept": "*/*",
        "Content-Length": "493",
        "Content-Type": "multipart/form-data; boundary=------------------------756b6d74fa1a8ee2",
        "Expect": "100-continue"
      },
      "uri": "/",
      "method": "POST",
      "body": [
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"name\"",
        "",
        "test",
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"filedata\"; filename=\"small_text_file.txt\"",
        "Content-Type: text/plain",
        "",
        "This is a very small test file..",
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"filedata\"; filename=\"small_text_file.txt\"",
        "Content-Type: text/plain",
        "",
        "This is another very small test file..",
        "--------------------------756b6d74fa1a8ee2--"
      ]
    },
    "response": {
      "headers": {
        "Date": "Mon, 13 Jul 2015 20:02:41 GMT",
        "Last-Modified": "Sun, 26 Oct 2014 22:33:37 GMT",
        "Content-Type": "text/html",
        "Content-Length": "8"
      },
      "body": [
        "no need."
      ]
    },
    "expected": {
      "debug_log": "Target value: \"Content-Length\" \\(Variable: REQUEST_HEADERS_NAMES:Content-Length\\)",
      "http_code": 200
    },
    "rules": [
      "SecRuleEngine On",
      "SecRule REQUEST_HEADERS_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
    ]
  },
  {
    "enabled": 1,
    "version_min": 300000,
    "title": "Testing Variables :: REQUEST_HEADERS_NAMES",
    "client": {
      "ip": "200.249.12.31",
      "port": 123
    },
    "server": {
      "ip": "200.249.12.31",
      "port": 80
    },
    "request": {
      "headers": {
        "Host": "localhost",
        "User-Agent": "curl/7.38.0",
        "Accept": "*/*",
        "Content-Length": "493",
        "Content-Type": "multipart/form-data; boundary=------------------------756b6d74fa1a8ee2",
        "Expect": "100-continue"
      },
      "uri": "/",
      "method": "POST",
      "body": [
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"name\"",
        "",
        "test",
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"filedata\"; filename=\"small_text_file.txt\"",
        "Content-Type: text/plain",
        "",
        "This is a very small test file..",
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"filedata\"; filename=\"small_text_file.txt\"",
        "Content-Type: text/plain",
        "",
        "This is another very small test file..",
        "--------------------------756b6d74fa1a8ee2--"
      ]
    },
    "response": {
      "headers": {
        "Date": "Mon, 13 Jul 2015 20:02:41 GMT",
        "Last-Modified": "Sun, 26 Oct 2014 22:33:37 GMT",
        "Content-Type": "text/html",
        "Content-Length": "8"
      },
      "body": [
        "no need."
      ]
    },
    "expected": {
      "debug_log": "Target value: \"Content-Type\" \\(Variable: REQUEST_HEADERS_NAMES:Content-Type\\)",
      "http_code": 200
    },
    "rules": [
      "SecRuleEngine On",
      "SecRule REQUEST_HEADERS_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
    ]
  },
  {
    "enabled": 1,
    "version_min": 300000,
    "title": "Testing Variables :: REQUEST_HEADERS_NAMES",
    "client": {
      "ip": "200.249.12.31",
      "port": 123
    },
    "server": {
      "ip": "200.249.12.31",
      "port": 80
    },
    "request": {
      "headers": {
        "Host": "localhost",
        "User-Agent": "curl/7.38.0",
        "Accept": "*/*",
        "Content-Length": "493",
        "Content-Type": "multipart/form-data; boundary=------------------------756b6d74fa1a8ee2",
        "Expect": "100-continue"
      },
      "uri": "/",
      "method": "POST",
      "body": [
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"name\"",
        "",
        "test",
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"filedata\"; filename=\"small_text_file.txt\"",
        "Content-Type: text/plain",
        "",
        "This is a very small test file..",
        "--------------------------756b6d74fa1a8ee2",
        "Content-Disposition: form-data; name=\"filedata\"; filename=\"small_text_file.txt\"",
        "Content-Type: text/plain",
        "",
        "This is another very small test file..",
        "--------------------------756b6d74fa1a8ee2--"
      ]
    },
    "response": {
      "headers": {
        "Date": "Mon, 13 Jul 2015 20:02:41 GMT",
        "Last-Modified": "Sun, 26 Oct 2014 22:33:37 GMT",
        "Content-Type": "text/html",
        "Content-Length": "8"
      },
      "body": [
        "no need."
      ]
    },
    "expected": {
      "debug_log": "Target value: \"Expect\" \\(Variable: REQUEST_HEADERS_NAMES:Expect\\)",
      "http_code": 200
    },
    "rules": [
      "SecRuleEngine On",
      "SecRule REQUEST_HEADERS_NAMES \"@contains small_text_file.txt\" \"id:1,phase:3,pass,t:trim\""
    ]
  }
]
