1. - (void)connectionNSURLConnection *)connection didReceiveResponseNSURLResponse *)response{
    2. NSHTTPURLResponse *httpResponse = (NSHTTPURLResponse *)response;
    3. if(httpResponse && [httpResponse respondsToSelectorselector(allHeaderFields)]){
    4. NSDictionary *httpResponseHeaderFields = [httpResponse allHeaderFields];
    5. total_ = [[httpResponseHeaderFields objectForKey"Content-Length"] longLongValue];
    6. //NSLog(@"%lld", total_);
    7. }
    8. }

最新文章

  1. 用python实现的百度音乐下载器-python-pyqt-改进版
  2. java.lang.OutOfMemoryError:GC overhead limit exceeded填坑心得
  3. Windows下搭建NodeJS绿色版开发环境
  4. 【Java】RuleSource约束常用方法整理
  5. Odoo启动过程
  6. PUTTY使用Ctrl+s僵死的问题
  7. VIM 技巧 (二)查找与替换
  8. Itunes connect State: Developer Action Needed
  9. uva 1423 拓扑排序
  10. 一天一个Java基础——数组
  11. memcached源代码包下载
  12. 自定义UITableViewCell时, 使用autoLayout, 无法很好的做到屏幕适配
  13. URAL 1792. Hamming Code (枚举)
  14. 浅谈PHP在各系统平台下的换行符
  15. Spring 对事务管理的支持
  16. WiFi基本知识【转】
  17. 180623、Git新建远程分支和删除
  18. SpringBoot中动态加载(热部署)
  19. (原创)Hibernate persistentSet的remove()方法不起作用
  20. BeanFactoryPostProcessor和BeanPostProcessor

热门文章

  1. IE下Date.parse出现NaN有关问题解决
  2. 使用 Sconfig.cmd 配置服务器核心服务器
  3. PAT——乙级1001and1011
  4. [oldboy-django][4python面试]有关csrf跨站伪造请求攻击
  5. DNS(转载)
  6. android下拉弹出动画
  7. Sina微博OAuth2框架解密
  8. selenium webdriver——控制浏览器
  9. Struts2,get/set 自动获取/设置数据ActionSupport 类
  10. 【bzoj2789】[Poi2012]Letters 树状数组求逆序对