Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

http.post方法指定发送内容编码为gbk,并未生效的问题 #894

Closed
zhanghuanle opened this issue Jul 8, 2015 · 2 comments
Closed
Assignees
Milestone

Comments

@zhanghuanle
Copy link

发现一个bug ,使用http.post方法时,指定发送内容编码为gbk,然而Request.getURLEncodedParams方法并未使用指定的编码来转换参数,系统调用的是Http.encode方法,里面固定使用的是utf-8编码 我使用的是1.50版本 刚才下载了最新版看了下代码这个问题依旧

@wendal wendal added this to the 1.b.53 milestone Jul 8, 2015
@wendal
Copy link
Member

wendal commented Jul 9, 2015

我没能重现.... 或者说我不知道怎么重现....

给段代码看看?

@wendal wendal closed this as completed Jul 20, 2015
@wendal wendal reopened this Jul 23, 2015
@wendal wendal closed this as completed in 5e9867a Jul 23, 2015
@wendal
Copy link
Member

wendal commented Jul 23, 2015

解决了

@wendal wendal self-assigned this Jul 23, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants