read http header info in ASIHttpRequest asynchronous

Posted by user262325 on Stack Overflow See other posts from Stack Overflow or by user262325
Published on 2010-04-24T02:36:10Z Indexed on 2010/04/24 2:43 UTC
Read the original article Hit count: 275

Filed under:

Hello everyone

One of my project is to download several large size files using ASIHTTPRequest in asynchronous mode. I hope to read the http returned header info to get the size of files. I know [request respsonseHeaders] (requestFinished: delegate method ) can do that. I tested and found that requestFinished: is only triggered when it completed the download of a whole single file. But I hope to access the function [request respsonseHeaders] before ASIHTTPRequest starting to download files (just when ASIHTTPRequest got the returned header info).

I can not find the triggered event for this.

Welcome any comment

Thanks

interdev

© Stack Overflow or respective owner

Related posts about iphone