@@ -761,7 +761,7 @@ @interface AFHTTPBodyPart : NSObject
761
761
@property (nonatomic , strong ) NSDictionary *headers;
762
762
@property (nonatomic , strong ) id body;
763
763
@property (nonatomic , assign ) unsigned long long bodyContentLength;
764
- @property (nonatomic , readonly ) NSInputStream *inputStream;
764
+ @property (nonatomic , strong ) NSInputStream *inputStream;
765
765
766
766
@property (nonatomic , assign ) BOOL hasInitialBoundary;
767
767
@property (nonatomic , assign ) BOOL hasFinalBoundary;
@@ -776,7 +776,7 @@ - (NSInteger)read:(uint8_t *)buffer
776
776
@interface AFMultipartBodyStreamProvider : NSObject
777
777
@property (nonatomic , assign ) NSUInteger bufferLength;
778
778
@property (nonatomic , assign ) NSTimeInterval delay;
779
- @property (nonatomic , readonly ) NSInputStream *inputStream;
779
+ @property (nonatomic , strong ) NSInputStream *inputStream;
780
780
@property (nonatomic , readonly ) unsigned long long contentLength;
781
781
@property (nonatomic , readonly , getter = isEmpty) BOOL empty;
782
782
@@ -968,7 +968,6 @@ @interface AFMultipartBodyStreamProvider () <NSCopying, NSStreamDelegate>
968
968
@property (nonatomic , strong ) NSMutableArray *HTTPBodyParts;
969
969
@property (nonatomic , strong ) NSEnumerator *HTTPBodyPartEnumerator;
970
970
@property (nonatomic , strong ) AFHTTPBodyPart *currentHTTPBodyPart;
971
- @property (nonatomic , strong ) NSInputStream *inputStream;
972
971
@property (nonatomic , strong ) NSOutputStream *outputStream;
973
972
@property (nonatomic , strong ) NSMutableData *buffer;
974
973
@end
0 commit comments