Howard
Howard

Reputation: 19805

NSURLConnection and "chunked" transfer-coding

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

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: Finally solved by using ASIHTTPRequest

Upvotes: 1

Views: 2423

Answers (2)

Howard
Howard

Reputation: 19805

You can use ASIHTTPRequest.

Upvotes: 1

Paul Cezanne
Paul Cezanne

Reputation: 8741

It might be too late to re-architect everything, but an awful lot of people like RestKit. It is primarily for communication with Restful services, including some pretty powerful object mapping, but I do recall seeing some mention in the docs for batch transfers of large amounts of data, say image data. Perhaps it can help you with your chunks?

Upvotes: 0

Related Questions