bencode/autoresponse — Issue #3: 配置文件
Author: qhwa
Created: 2011-11-04 11:25:03+00:00
State: open

rule配置文件独立出来，最好能支持不用重启也能自动读取新配置
配置范例：

$rule = {
"www.1688.com" => "response body text",
"www.google.com" => [404, { server: "test"}, "not found"],
/\.json$/ => "test json content",
/\.jsonp$/ => "=> /home/usera/test.json"
}