Showing
2 changed files
with
3 additions
and
4 deletions
@@ -47,12 +47,12 @@ typedef enum _ASIURLReplacementMode { | @@ -47,12 +47,12 @@ typedef enum _ASIURLReplacementMode { | ||
47 | // This dictionary stores a list of external resources to download, along with their content-type data or a path to the data | 47 | // This dictionary stores a list of external resources to download, along with their content-type data or a path to the data |
48 | NSMutableDictionary *resourceList; | 48 | NSMutableDictionary *resourceList; |
49 | 49 | ||
50 | - // 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 | ||
51 | - ASIWebContentType webContentType; | ||
52 | - | ||
53 | // Used internally for parsing HTML (with libxml) | 50 | // Used internally for parsing HTML (with libxml) |
54 | struct _xmlDoc *doc; | 51 | struct _xmlDoc *doc; |
55 | 52 | ||
53 | + // 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 | ||
54 | + ASIWebContentType webContentType; | ||
55 | + | ||
56 | // Stores a reference to the ASIWebPageRequest that created this request | 56 | // Stores a reference to the ASIWebPageRequest that created this request |
57 | // Note that a parentRequest can also have a parent request because ASIWebPageRequests parse their contents to look for external resources recursively | 57 | // Note that a parentRequest can also have a parent request because ASIWebPageRequests parse their contents to look for external resources recursively |
58 | // 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 | 58 | // 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 |
@@ -37,7 +37,6 @@ static NSMutableArray *requestsUsingXMLParser = nil; | @@ -37,7 +37,6 @@ static NSMutableArray *requestsUsingXMLParser = nil; | ||
37 | 37 | ||
38 | @property (retain, nonatomic) ASINetworkQueue *externalResourceQueue; | 38 | @property (retain, nonatomic) ASINetworkQueue *externalResourceQueue; |
39 | @property (retain, nonatomic) NSMutableDictionary *resourceList; | 39 | @property (retain, nonatomic) NSMutableDictionary *resourceList; |
40 | - | ||
41 | @end | 40 | @end |
42 | 41 | ||
43 | @implementation ASIWebPageRequest | 42 | @implementation ASIWebPageRequest |
-
Please register or login to post a comment