Working on an iOS project, build it with AFNetworking, has been found that for some requests, AFHTTPRequestOperation doesn't call success or failure blocks.
The specific case is when we tried to download a pdf file, that not exist in the server:
http://www.consejotransparencia.cl/data_casos/ftp_casos/C911-12/C911-12_Decisión_Web.pdf
AFHTTPRequestOperation finally does nothing, and the app get stuck.
The goal is to handle this errors and not get the app stuck.
Anyone knows how to handle this problem?