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
Cédric Luthi
2011-05-19 09:44:39 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
cf574d175552913637d056b74c70b0cfe14191ef
cf574d17
1 parent
325a09e4
Restore legacy runtime compatibility
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
Classes/ASIWebPageRequest/ASIWebPageRequest.h
Classes/ASIWebPageRequest/ASIWebPageRequest.m
Classes/ASIWebPageRequest/ASIWebPageRequest.h
View file @
cf574d1
...
...
@@ -50,6 +50,9 @@ typedef enum _ASIURLReplacementMode {
// If the response is an HTML or CSS file, this will be set so the content can be correctly parsed when it has finished fetching external resources
ASIWebContentType
webContentType
;
// Used internally for parsing HTML (with libxml)
struct
_xmlDoc
*
doc
;
// Stores a reference to the ASIWebPageRequest that created this request
// Note that a parentRequest can also have a parent request because ASIWebPageRequests parse their contents to look for external resources recursively
// For example, a request for an image can be created by a request for a stylesheet which was created by a request for a web page
...
...
Classes/ASIWebPageRequest/ASIWebPageRequest.m
View file @
cf574d1
...
...
@@ -37,14 +37,11 @@ static NSMutableArray *requestsUsingXMLParser = nil;
@property
(
retain
,
nonatomic
)
ASINetworkQueue
*
externalResourceQueue
;
@property
(
retain
,
nonatomic
)
NSMutableDictionary
*
resourceList
;
@property
(
assign
,
nonatomic
)
xmlDocPtr
doc
;
// Declared as @property in order to get a "free" ivar and hide it from the header
@end
@implementation
ASIWebPageRequest
@synthesize
doc
;
+
(
void
)
initialize
{
if
(
self
==
[
ASIWebPageRequest
class
])
{
...
...
Please
register
or
login
to post a comment