Authored by chunhua.zhang

add

@@ -41,7 +41,7 @@ end @@ -41,7 +41,7 @@ end
41 41
42 ---- degrade 42 ---- degrade
43 function do_degrade() 43 function do_degrade()
44 - local method = http_request.get_req_param("method") 44 + local method = http_request.get_method()
45 45
46 if limit_ip_config and limit_ip_config.degrade_methods then 46 if limit_ip_config and limit_ip_config.degrade_methods then
47 if contains(limit_ip_config.degrade_methods,method) then 47 if contains(limit_ip_config.degrade_methods,method) then