Code Monkey home page Code Monkey logo

qbapi's People

Contributors

xxxsen avatar

Watchers

 avatar  avatar

Forkers

penwyp

qbapi's Issues

有关另一个项目的小问题

很抱歉在这个项目给你提另一个项目的 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"
});

如果你方便的话 可以更新一下那个项目,如有打扰还请见谅,谢谢。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.