FIDDLER的使用方法及技巧总结(连载四)FIDDLER通用规则更改
2016-11-01 19:05
537 查看
四、FIDDLER通用规则更改
![](https://images2017.cnblogs.com/blog/1054782/201711/1054782-20171116095045327-675295684.png)
To make custom changes to web requests and responses, use FiddlerScript to add rules to Fiddler's OnBeforeRequest or OnBeforeResponse function. Which function is appropriate depends on the objects your code uses: OnBeforeRequest is called before each request, and OnBeforeResponse is called before each response. Note:
1)It is not possible to access the response objects inside OnBeforeRequest as they have not yet been created.
2)It is possible to use objects from the request inside OnBeforeResponse; however, any changes you make to those objects will not be seen by the server, as it has already received the request.
![](https://images2017.cnblogs.com/blog/1054782/201711/1054782-20171116095032327-372486043.png)
![](https://images2017.cnblogs.com/blog/1054782/201711/1054782-20171116095109531-1035656407.png)
下面是一些正则匹配基本的规则
![](https://images2017.cnblogs.com/blog/1054782/201711/1054782-20171116095129702-519526576.png)
相关文章推荐
- FIDDLER的使用方法及技巧总结(连载二)FIDDLER用户界面
- FIDDLER的使用方法及技巧总结[连载1]---FIDDLER快速入门及使用场景
- FIDDLER的使用方法及技巧总结(连载五)FIDDLER的一些故障排除
- FIDDLER的使用方法及技巧总结(连载三)FIDDLER使用技巧及方法
- FIDDLER的使用方法及技巧总结(连载一)FIDDLER快速入门及使用场景
- FIDDLER的使用方法及技巧总结[连载3]---FIDDLER使用技巧及方法
- 总结:ADO.NET在开发中的部分使用方法和技巧 选择自 yangyifan0 的 Blog
- (转)CString的Format方法使用技巧总结(int|float|double转换为CString)
- 总结:ADO.NET在开发中的部分使用方法和技巧
- ps切图技巧、基础工具,使用方法总结
- [导入]总结:ADO.NET在开发中的部分使用方法和技巧
- CString的Format方法使用技巧总结
- 总结:ADO.NET在开发中的部分使用方法和技巧
- Java中方法的重写(override)和重载(overload)的使用规则总结:
- 总结:ADO.NET在开发中的部分使用方法和技巧
- 总结:ADO.NET在开发中的部分使用方法和技巧
- 一波神奇的Python语句、函数与方法的使用技巧总结
- 一波神奇的Python语句、函数与方法的使用技巧总结
- kshen转总结:ADO.NET在开发中的部分使用方法和技巧
- DevExpress GridControl 使用方法技巧 总结 收录整理