Help how to create proxy backend modyfi http header request

polaris · · 857 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>Hello Friend I have a question as I create a proxy that will lead to a backend already look on the internet there are good projects but not is how to modify headers http I used to be able to evade sensura in my country thank you for your help</p> <hr/>**评论:**<br/><br/>calebdoxsey: <pre><p>The product you are looking for is lantern: <a href="https://getlantern.org/" rel="nofollow">https://getlantern.org/</a>. It is written in Go and bypasses country-level firewalls by proxying traffic through CDNs.</p></pre>roveboat: <pre><p>Googling for &#39;golang http proxy&#39; results in <a href="https://github.com/elazarl/goproxy" rel="nofollow">this library</a>, which looks like it fits the bill and there&#39;s an example where the proxy adds a header too. Good luck!</p></pre>obito02: <pre><p>Thanks for responding try this project works well create me the backend to the proxy and you have a log on exa, but the problem is that I can not modify headers http direct sending to the proxy could give me a idea as capture headers pass them to string modify my taste to return them send them to the proxy etc I hope I can help is grateful it is the project thanks por your help <a href="https://github.com/dgryski/dhd" rel="nofollow">https://github.com/dgryski/dhd</a></p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

857 次点击  
加入收藏 微博
0 回复
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传