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
2011-02-05 16:25:40 +0000
Browse Files
Options
Browse Files
Download
Plain Diff
Commit
fd63cc25c4ee2b983ea23629b8b43a79ce4cfacb
fd63cc25
2 parents
5d8a22b3
fdd8a3b8
Merge branch 'master' of
https://github.com/0xced/asi-http-request
into 0xced-master
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
Classes/ASIDownloadCache.h
Classes/ASIHTTPRequest.h
iPhone Sample/iPadInfo.plist
iPhone.xcodeproj/project.pbxproj
Classes/ASIDownloadCache.h
View file @
fd63cc2
...
...
@@ -12,8 +12,8 @@
@interface
ASIDownloadCache
:
NSObject
<
ASICacheDelegate
>
{
// The default cache policy for this cache
// Requests that store data in the cache will use this cache policy if their cache policy is set to ASIDefaultCachePolicy
// Defaults to ASI
ReloadIfDifferent
CachePolicy
// Requests that store data in the cache will use this cache policy if their cache policy is set to ASI
Use
DefaultCachePolicy
// Defaults to ASI
AskServerIfModifiedWhenStale
CachePolicy
ASICachePolicy
defaultCachePolicy
;
// The directory in which cached data will be stored
...
...
Classes/ASIHTTPRequest.h
View file @
fd63cc2
...
...
@@ -287,7 +287,7 @@ typedef void (^ASIDataBlock)(NSData *data);
// Called on the delegate (if implemented) when the request starts. Default is requestStarted:
SEL
didStartSelector
;
// Called on the delegate (if implemented) when the request receives response headers. Default is request
D
idReceiveResponseHeaders:
// Called on the delegate (if implemented) when the request receives response headers. Default is request
:d
idReceiveResponseHeaders:
SEL
didReceiveResponseHeadersSelector
;
// Called on the delegate (if implemented) when the request receives a Location header and shouldRedirect is YES
...
...
iPhone Sample/iPadInfo.plist
View file @
fd63cc2
...
...
@@ -22,5 +22,12 @@
<string>
1.0
</string>
<key>
NSMainNibFile
</key>
<string>
iPadMainWindow
</string>
<key>
UISupportedInterfaceOrientations
</key>
<array>
<string>
UIInterfaceOrientationPortrait
</string>
<string>
UIInterfaceOrientationPortraitUpsideDown
</string>
<string>
UIInterfaceOrientationLandscapeLeft
</string>
<string>
UIInterfaceOrientationLandscapeRight
</string>
</array>
</dict>
</plist>
...
...
iPhone.xcodeproj/project.pbxproj
View file @
fd63cc2
This diff was suppressed by a .gitattributes entry.
Please
register
or
login
to post a comment