免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6649 | 回复: 1
打印 上一主题 下一主题

[其他] 请教一下,webservice返回的http这个头有没有问题? [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2014-09-01 17:21 |只看该作者 |倒序浏览



HTTP/1.1 200 OK
Content-Type: text/xml; charset=UTF-8
Content-Language: zh-CN
Transfer-Encoding: chunked
Date: Mon, 01 Sep 2014 09:06:20 GMT
Server: WebSphere Application Server/7.0



0000   48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d  HTTP/1.1 200 OK.
0010   0a 43 6f 6e 74 65 6e 74 2d 54 79 70 65 3a 20 74  .Content-Type: t
0020   65 78 74 2f 78 6d 6c 3b 20 63 68 61 72 73 65 74  ext/xml; charset
0030   3d 55 54 46 2d 38 0d 0a 43 6f 6e 74 65 6e 74 2d  =UTF-8..Content-
0040   4c 61 6e 67 75 61 67 65 3a 20 7a 68 2d 43 4e 0d  Language: zh-CN.
0050   0a 54 72 61 6e 73 66 65 72 2d 45 6e 63 6f 64 69  .Transfer-Encodi
0060   6e 67 3a 20 63 68 75 6e 6b 65 64 0d 0a 44 61 74  ng: chunked..Dat
0070   65 3a 20 4d 6f 6e 2c 20 30 31 20 53 65 70 20 32  e: Mon, 01 Sep 2
0080   30 31 34 20 30 39 3a 30 36 3a 32 30 20 47 4d 54  014 09:06:20 GMT
0090   0d 0a 53 65 72 76 65 72 3a 20 57 65 62 53 70 68  ..Server: WebSph
00a0   65 72 65 20 41 70 70 6c 69 63 61 74 69 6f 6e 20  ere Application
00b0   53 65 72 76 65 72 2f 37 2e 30 0d 0a 0d 0a        Server/7.0....

论坛徽章:
0
2 [报告]
发表于 2014-09-01 17:25 |只看该作者
gsoap返回的串里utf-8编码的字符会丢掉一些,搞得不能转换到正确的汉字。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP