diff --git a/framework/KSYHTTPCache.framework/Headers/KSYHTTPProxyService.h b/framework/KSYHTTPCache.framework/Headers/KSYHTTPProxyService.h index c82d49b..62f41e1 100644 --- a/framework/KSYHTTPCache.framework/Headers/KSYHTTPProxyService.h +++ b/framework/KSYHTTPCache.framework/Headers/KSYHTTPProxyService.h @@ -125,4 +125,13 @@ */ -(NSArray*)getCacheFragmentForUrl:(NSURL *)url error:(NSError **)error; + +/** + 发送http请求时需要header带上的字段 + 必须 key:value 都是NSString类型 + @param headers 请求头带的字段 + */ +-(void)setHttpHeaders:(NSDictionary *)headers; + + @end diff --git a/framework/KSYHTTPCache.framework/Info.plist b/framework/KSYHTTPCache.framework/Info.plist index e6b1576..09528ca 100644 Binary files a/framework/KSYHTTPCache.framework/Info.plist and b/framework/KSYHTTPCache.framework/Info.plist differ diff --git a/framework/KSYHTTPCache.framework/KSYHTTPCache b/framework/KSYHTTPCache.framework/KSYHTTPCache index af8fa0c..f5b635f 100644 Binary files a/framework/KSYHTTPCache.framework/KSYHTTPCache and b/framework/KSYHTTPCache.framework/KSYHTTPCache differ diff --git a/ksyhttpcache.podspec b/ksyhttpcache.podspec index f49d098..372fa2c 100644 --- a/ksyhttpcache.podspec +++ b/ksyhttpcache.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = 'ksyhttpcache' - s.version = '1.0.10' + s.version = '1.0.11' s.license = { :type => 'Proprietary', :text => <<-LICENSE