net-penetrate-http-and-https-simple icon indicating copy to clipboard operation
net-penetrate-http-and-https-simple copied to clipboard

POST和chunked传输 不支持?

Open 189er opened this issue 1 year ago • 3 comments

POST / HTTP/1.1 Host: shang.kele.plus Transfer-Encoding: chunked

HTTP/1.1 412 Precondition Failed Connection: close Content-Type: text/html;charset=UTF-8 Content_Length: 421

<html><head><title>Content-Type类型是无法处理的请求类型,请看一下请求头的信息,(可以联系管理员反馈一下问题,以便下个版本更新)</title></head>
<body bgcolor="white">
<center><h1>Content-Type类型是无法处理的请求类型,请看一下请求头的信息,(可以联系管理员反馈一下问题,以便下个版本更新)</h1></center>
<hr><center>kele</center>
</body></html>

189er avatar Aug 21 '23 16:08 189er

支持的

LiangXiaoWei1024 avatar Aug 21 '23 17:08 LiangXiaoWei1024

POST / HTTP/1.1 Content2-Type: application/octet-stream Host: shang.kele.plus Transfer-Encoding: chunked

这样提交给穿透服务器,经过穿透服务器修改后,发现:Transfer-Encoding: chunked 被删除.

Content-Type: application/octet-stream也不能有,得改为Content2-Type

189er avatar Aug 22 '23 12:08 189er

Content-Type: text/html;charset=UTF-8 是支持的 Content-Type: application/octet-stream 目前不支持,等后面会更新上去

LiangXiaoWei1024 avatar Aug 26 '23 17:08 LiangXiaoWei1024