-
Notifications
You must be signed in to change notification settings - Fork 254
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
iOS 使用 quick 的 httpRequest 下载图片出现不可达。 #105
Comments
目前在路由器翻墙的情况下可以下载得到图片了,但是通过手机安装的 ss 的话还是无法下载。 |
这个可能是代理连接的问题。需要看看 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
使用 HTTPRequest 在 iOS,Mac, Windows 版本下会出现不可达,(需挂梯子)。
测试地址是:
这个地址比较特殊,请求之后会重定向到下面那个地址。
浏览器直接打开这个地址是可以下载得到对应的图片的。
httpRequest 的 test code
关于 HTTPRequest 底层是采用 curl 实现的,所以猜想是不是因为这个模块的一些请求设置有问题导致的。
在 V3.6.5 版本下本来还有一个 XMLHTTPRequest,就用这个写了个测试类,发现也是有问题的。而在 cocos2dx 3.16 版本上却是可以的。关于 httpClient 的代码:
有没有老司机测试看看。
The text was updated successfully, but these errors were encountered: