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
2010-06-23 15:10:33 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1ff8184d59ec2e830580608107aaffe9f302cb9e
1ff8184d
1 parent
714cf825
Fix another instance of copy -> mutableCopy that Nebil told me about and I failed to fix
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
3 deletions
Classes/ASIFormDataRequest.m
Classes/ASIHTTPRequest.m
Mac Sample/AppDelegate.m
Classes/ASIFormDataRequest.m
View file @
1ff8184
...
...
@@ -340,8 +340,8 @@
-
(
id
)
copyWithZone
:
(
NSZone
*
)
zone
{
ASIFormDataRequest
*
newRequest
=
[
super
copyWithZone
:
zone
];
[
newRequest
setPostData
:[[[
self
postData
]
c
opyWithZone
:
zone
]
autorelease
]];
[
newRequest
setFileData
:[[[
self
fileData
]
c
opyWithZone
:
zone
]
autorelease
]];
[
newRequest
setPostData
:[[[
self
postData
]
mutableC
opyWithZone
:
zone
]
autorelease
]];
[
newRequest
setFileData
:[[[
self
fileData
]
mutableC
opyWithZone
:
zone
]
autorelease
]];
[
newRequest
setPostFormat
:[
self
postFormat
]];
[
newRequest
setStringEncoding
:[
self
stringEncoding
]];
[
newRequest
setRequestMethod
:[
self
requestMethod
]];
...
...
Classes/ASIHTTPRequest.m
View file @
1ff8184
...
...
@@ -24,7 +24,7 @@
// Automatically set on build
NSString
*
ASIHTTPRequestVersion
=
@"v1.6.2-6
3
2010-06-23"
;
NSString
*
ASIHTTPRequestVersion
=
@"v1.6.2-6
4
2010-06-23"
;
NSString
*
const
NetworkRequestErrorDomain
=
@"ASIHTTPRequestErrorDomain"
;
...
...
Mac Sample/AppDelegate.m
View file @
1ff8184
...
...
@@ -320,6 +320,7 @@
ASIHTTPRequest
*
request
=
[
ASIHTTPRequest
requestWithURL
:[
NSURL
URLWithString
:
@"http://allseeing-i.com/ASIHTTPRequest/tests/table-row-data.xml"
]];
[
request
setDownloadCache
:[
ASIDownloadCache
sharedCache
]];
[[
ASIDownloadCache
sharedCache
]
setDefaultCachePolicy
:
ASIOnlyLoadIfNotCachedCachePolicy
];
[
request
setDidFinishSelector
:
@selector
(
tableViewDataFetchFinished
:)];
[
request
setDelegate
:
self
];
[[
self
tableQueue
]
addOperation
:
request
];
...
...
Please
register
or
login
to post a comment