#35 ✓resolved
James Burton

1.5: download progress delegate not getting updated

Reported by James Burton | January 7th, 2010 @ 08:22 PM

The progress delegate doesn't get updated when using ASIHTTPRequest synchronously on mac os x 10.6.2

This seems to be because it needs the responseHeaders to be created before it can update the progress, and that doesn't happen till the file finishes downloading (presumably due to the move to persistent connections - the headers get read in handleStreamComplete). My quick solution was to check for the headers in handleNetworkEvent and call readResponseHeaders if they don't exist yet.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Easy to use CFNetwork wrapper for HTTP requests, Objective-C, Mac OS X and iPhone

People watching this ticket