Comments (2)
已解决,客户端默认Content-Type写死的,在连接代理后会默认变为content-type,导致,客户端无法匹配编码规则,走默认的编码规则,最终出现乱码。客户端应该兼容不区分大小写,而代理工具也应该是兼容大小写,一点建议,哈哈。
from whistle.
http协议(4.2 Message Headers)的头部字段名称是case-insensitive
,也就是大小不敏感,浏览器和一些比较通用的库都会自动处理,自己在程序中获取头部字段要注意下先把头部字段名称统一转成小写或者大写再获取
from whistle.
Related Issues (20)
- MAC 重启后,whistle 连不上了,重新装 whistle 启动也不生效. HOT 4
- whistle代理页面资源时,会遇到502 HOT 1
- mock无法保存value值 HOT 1
- Whistle 无法在 Node.js v21.6.2 上启动 HOT 2
- network的某个请求中,mock修改响应数据,默认选择存储在系统文件中,生成的temp文件夹在哪里呢? HOT 1
- connect协议的http请求无法解析 HOT 6
- 底部的日志过滤文本框能支持正则表达式过滤不,没有正则过滤日志太麻烦了 HOT 4
- 是否可以让whistle通过系统代理或指定代理访问网络? HOT 1
- 如何将代理匹配到的 rule 信息返回给请求方 HOT 5
- ubuntu 下安装证书后依旧无法截取 https 请求 HOT 1
- websocket下如何自动解压数据流?websocket框架存在未知的bug? HOT 9
- 增加更多命令行CLI接口调用 HOT 1
- DNS Lookup Failed HOT 2
- 公网ip+端口 报错 socket connect timeout HOT 5
- 【需求】缺少绑定到每个请求上的console.log HOT 1
- 【需求】对请求设置命中次数,重新打开规则时刷新次数。 HOT 3
- 被测网站证书更新了,工具报错,该如何处理? HOT 3
- 有考虑支持 SSE 协议的请求吗? HOT 1
- HEXtext显示错误 HOT 2
- 怎么 mock 一个 sse 请求呢?🤔 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from whistle.