Buh*_*ica 14 fiddler http-method
Fiddler捕获了很多HTTP OPTIONS调用,我对此并不感兴趣.
是否可以忽略这些并且只能看到GET和POST?
Buh*_*ica 24
在Fiddler中,单击"规则" - >"自定义规则".这将打开一个脚本文件,允许您创建自定义规则.
找到OnBeforeRequest
并添加此代码:
static function OnBeforeRequest(oSession: Session) {
if (oSession.HTTPMethodIs("OPTIONS")) {
oSession["ui-hide"] = "true";
}
Run Code Online (Sandbox Code Playgroud)
找到OnBeforeResponse
并添加此代码:
static function OnBeforeResponse(oSession: Session) {
if (oSession.HTTPMethodIs("OPTIONS") && oSession.responseCode == 200) {
oSession["ui-hide"] = "true";
}
Run Code Online (Sandbox Code Playgroud)
归档时间: |
|
查看次数: |
3884 次 |
最近记录: |