开发者社区> 问答> 正文

阿里云CDNHTTPS在iOS应用中的POST请求返回500

返回内容 Content-Length" = 320;
Content-Type" = "text/html";
Date = "Fri, 27 Feb 2015 18:33:49 GMT";
Server = nginx;
Via = "kunlun9.cn293[-,503001]";


<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html>
<head><title>500 Internal Server Error</title></head>
<body bgcolor="white">
<h1>500 Internal Server Error</h1>
<p>The server encountered an internal error or misconfiguration and was unable to complete your request.<hr/>Powered by Tengine</body>
</html>

我的服务器已经正常返回了内容,且 nginx 日志显示为 200。


1. GET 模式不会出错
2. POST 模式且数据为空时不会出错
3. 非 HTTPS 访问不会出错
4. 电脑模拟 POST 可以正常返回(所有 header 和 POST 内容与手机完全相同)
5. 在 iOS 真机和模拟器上均出现 500
6. 无论是 ajax post 还是 native 代码 POST ,都会出现 500

展开
收起
typcn 2015-02-28 02:35:12 9767 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
阿里云云原生 Serverless 技术实践营 PPT 演讲 立即下载
阿里云产品十月刊 立即下载
基于阿里云构建博学谷平台实时湖仓 立即下载