NSURLConnection和“chunked”传输编码 [英] NSURLConnection and "chunked" transfer-coding

查看:276
本文介绍了NSURLConnection和“chunked”传输编码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

已透过其他来源阅读,例如: https://discussions.apple.com/message / 7844057#7844057

Have read thru other source, such as: https://discussions.apple.com/message/7844057#7844057

似乎没有办法读取带有chunked传输编码(即无内容长度)的页面,使用 NSURLConnection

Seems there is no way to read a page with "chunked" transfer-coding (i.e. without content-length) using NSURLConnection.

任何其他解决方法或其他图书馆可以提供帮助?

Any other workaround or other library can help?

Update :最后使用ASIHTTPRequest解决

Update: Finally solved by using ASIHTTPRequest

推荐答案

//allseeing-i.com/ASIHTTPRequest/rel =nofollow> ASIHTTPRequest 。

You can use ASIHTTPRequest.

这篇关于NSURLConnection和“chunked”传输编码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆