我发出的数组 int类型会全部变成了 string
还没有人认领这个 Issue。
评估
调研方向
首先,通过 $http->request($host, $response)->getBody()->getContents() 重现从服务器 A 显示的请求,然后检查使用 $request->only(['hello']) 选取的接收值。将传输前的值与解码后的响应进行比较,并确定转换发生在客户端还是接收端。完成的标准是已记录负责的处理位置以及可复现的预期结果。
由索引模型根据 Issue 内容生成。
描述
服务器A:
$response = [
"hello": "123456"
];
$http->request($host,$response)->getBody()->getContents();
接收端B:
$request->only(['hello']);
"data": {
"hello": "123456"
}
这是发送端 还是接收端 没处理
- 主要语言
- PHP
- 星标
- 55
- 派生
- 19
- PR 合并指标
- 30 天内没有已合并 PR
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
workerman-php/http-client 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 52/100
workerman-php/http-client#48 ·
-
难度 4/5 3-5 天 新手友好度 35/100
workerman-php/http-client#39 ·
-
TLS 1.3 未关闭
难度 4/5 3-5 天 新手友好度 35/100
workerman-php/http-client#32 ·
-
难度 5/5 一周以上 新手友好度 20/100
workerman-php/http-client#23 ·
-
如何忽略SSL 错误 未关闭
难度 5/5 一周以上 新手友好度 25/100
workerman-php/http-client#18 · 1 条评论 ·
查看 workerman-php/http-client 的全部 Issue
相似的 Issue
-
Bug
难度 2/5 1-3 小时 新手友好度 70/100
Automattic/safe-publish#594 ·
-
needs-triage Platform(Default)
难度 2/5 1-3 小时 新手友好度 75/100
-
HttpClient
难度 2/5 1-3 小时 新手友好度 75/100
symfony/symfony-docs#23092 ·
-
sync-en
难度 1/5 1 小时以内 新手友好度 90/100
-
sync-en
难度 1/5 1 小时以内 新手友好度 95/100