xxxsen / qbapi Goto Github PK
View Code? Open in Web Editor NEWGolang版本的qbittorrent web api
Golang版本的qbittorrent web api
很抱歉在这个项目给你提另一个项目的 issue,因为找不到你其他的联系方式,另一个项目又没有开放issue。
问题:这个项目: https://github.com/luckypoem/gopxy 目前对于 get 的请求的转发是OK 的,但是对于 POST 的请求会报错:
WARN: Cannot read TLS response from mitm'd server http: invalid Read on closed Body
我对于 golang 是没学过,只能请教你,我问了一下别人,说可能是 transport 的问题.
另外我在安全马克哪里看到了这段 CF 的 worker 代码是支持 POST 的: https://gist.github.com/Mr-xn/7945ad064af3f40b9fc27213fbdef5c7 :
fetch("https://proxies.laobiao.workers.dev/https://ipinfo.io", {
"headers": {
"accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.9",
"accept-language": "zh-CN,zh;q=0.9,en-US;q=0.8,en;q=0.7",
"cache-control": "no-cache",
"content-type": "application/x-www-form-urlencoded",
"pragma": "no-cache",
"sec-ch-ua": "\"Google Chrome\";v=\"95\", \"Chromium\";v=\"95\", \";Not A Brand\";v=\"99\"",
"sec-fetch-dest": "document",
"sec-fetch-mode": "navigate",
"sec-fetch-site": "same-origin",
"sec-fetch-user": "?1",
"sec-gpc": "1",
"upgrade-insecure-requests": "1"
},
"referrer": "https://proxies.laobiao.workers.dev",
"referrerPolicy": "strict-origin-when-cross-origin",
"body": "ip=172.69.35.33",
"method": "POST",
"mode": "cors",
"credentials": "include"
});
如果你方便的话 可以更新一下那个项目,如有打扰还请见谅,谢谢。
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.