在 小提琴维基中找到了添加会话变量的说明:
协议添加“客户端 IP 地址”X-CLIENTIP
但是 HTTPMethod 似乎没有那么简单。
有人知道怎么做或者有好的小提琴手剧本吗?
Edit your rules, then in the class Handlers add:
public static BindUIColumn("Method", 60) function FillMethodColumn(oS: Session){ return oS.oRequest.headers.HTTPMethod; }
There's an easier way now (as of v4.4.5.1 or earlier).
Right-click the column bar and select Customize columns....
Collection: Miscellaneous Field Name: RequestMethod
Result: