Ran*_*y L 6 web-development http-proxy
有没有办法使用 Wireshark 或其他一些免费软件来获得使用 Charles 的 Map Local 功能时获得的结果?
它在 Charles 中的工作方式是,您可以在浏览器请求指定文件的任何时候指定一组文件/文件夹,这些文件/文件夹将替换为本地磁盘中的文件。
这是超级用,让你的变化到源代码控制,或在不允许你在开发过程中,推动文件到临时服务器障碍复杂的网站工作得心应手。
如果您正在寻找开源解决方案,那么Privoxy可能是一个解决方案。
Privoxy 可以执行重定向操作等等。
这些示例取自手册:
# Replace example.com's style sheet with another one
{ +redirect{http://localhost/example.com.css} }
example.com/stylesheet\.css$
# Redirect remote requests for this manual
# to the local version delivered by Privoxy
{+redirect{s@^http://www@http://config@}}
www.privoxy.org/user-manual/
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3079 次 |
| 最近记录: |