Toggle navigation
Toggle navigation
This project
Loading...
Sign in
iOS
/
asi-http-request
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Ben Copsey
2009-03-22 13:05:08 +0000
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
32e18c03ff5a96516ec4e62e5b1f24258dbc1a98
32e18c03
2 parents
9e22dfb6
9c9e3289
Merge branch 'master' into newlayout
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
Classes/ASIHTTPRequest.h
Classes/ASIHTTPRequest.m
Classes/ASIHTTPRequest.h
View file @
32e18c0
...
...
@@ -181,6 +181,9 @@ typedef enum _ASINetworkErrorType {
NSStringEncoding
responseEncoding
;
BOOL
allowResumeForFileDownloads
;
// Custom user information assosiated with the request
NSDictionary
*
userInfo
;
}
#pragma mark init / dealloc
...
...
@@ -342,4 +345,5 @@ typedef enum _ASINetworkErrorType {
@property
(
assign
)
NSStringEncoding
responseEncoding
;
@property
(
assign
)
BOOL
allowCompressedResponse
;
@property
(
assign
)
BOOL
allowResumeForFileDownloads
;
@property
(
retain
)
NSDictionary
*
userInfo
;
@end
...
...
Classes/ASIHTTPRequest.m
View file @
32e18c0
...
...
@@ -90,6 +90,7 @@ static NSError *ASIUnableToCreateRequestError;
[
self
setDidFinishSelector
:
@selector
(
requestFinished
:)];
[
self
setDidFailSelector
:
@selector
(
requestFailed
:)];
[
self
setDelegate
:
nil
];
[
self
setUserInfo
:
nil
];
url
=
[
newURL
retain
];
cancelledLock
=
[[
NSLock
alloc
]
init
];
return
self
;
...
...
@@ -1462,4 +1463,5 @@ static NSError *ASIUnableToCreateRequestError;
@synthesize
responseEncoding
;
@synthesize
allowCompressedResponse
;
@synthesize
allowResumeForFileDownloads
;
@synthesize
userInfo
;
@end
...
...
Please
register
or
login
to post a comment