diff --git a/SDWebImage/SDWebImageDownloader.h b/SDWebImage/SDWebImageDownloader.h index 4996f7c0..351d57d1 100644 --- a/SDWebImage/SDWebImageDownloader.h +++ b/SDWebImage/SDWebImageDownloader.h @@ -109,12 +109,12 @@ typedef SDImageLoaderCompletedBlock SDWebImageDownloaderCompletedBlock; /** The download's request. */ -@property (nonatomic, copy, nullable, readonly) NSURLRequest *request; +@property (nonatomic, strong, nullable, readonly) NSURLRequest *request; /** The download's response. */ -@property (nonatomic, copy, nullable, readonly) NSURLResponse *response; +@property (nonatomic, strong, nullable, readonly) NSURLResponse *response; @end diff --git a/SDWebImage/SDWebImageDownloader.m b/SDWebImage/SDWebImageDownloader.m index cc17dd89..8e0f89bb 100644 --- a/SDWebImage/SDWebImageDownloader.m +++ b/SDWebImage/SDWebImageDownloader.m @@ -19,8 +19,8 @@ static void * SDWebImageDownloaderContext = &SDWebImageDownloaderContext; @interface SDWebImageDownloadToken () @property (nonatomic, strong, nullable, readwrite) NSURL *url; -@property (nonatomic, copy, nullable, readwrite) NSURLRequest *request; -@property (nonatomic, copy, nullable, readwrite) NSURLResponse *response; +@property (nonatomic, strong, nullable, readwrite) NSURLRequest *request; +@property (nonatomic, strong, nullable, readwrite) NSURLResponse *response; @property (nonatomic, strong, nullable, readwrite) id downloadOperationCancelToken; @property (nonatomic, weak, nullable) NSOperation *downloadOperation; @property (nonatomic, weak, nullable) SDWebImageDownloader *downloader;