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
mineschan
2013-10-04 16:30:15 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
4acb3fde3cc3b6ab8dc99cf12403b29bb8f780c1
4acb3fde
1 parent
2ddd8654
Updated deprecated method
addTimeInterval changed to dateByAddingTimeInterval
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
Classes/ASIHTTPRequest.m
Classes/ASIHTTPRequest.m
View file @
4acb3fd
...
...
@@ -4867,7 +4867,7 @@ static NSOperationQueue *sharedQueue = nil;
// RFC 2612 says max-age must override any Expires header
if
(
maxAge
)
{
return
[[
NSDate
date
]
add
TimeInterval
:
maxAge
];
return
[[
NSDate
date
]
dateByAdding
TimeInterval
:
maxAge
];
}
else
{
NSString
*
expires
=
[
responseHeaders
objectForKey
:
@"Expires"
];
if
(
expires
)
{
...
...
Please
register
or
login
to post a comment