Permalink
Browse files

Merge pull request #163 from 0xced/master

Fixed a typo + libxml is hidden from ASIWebPageRequest header
  • Loading branch information...
pokeb committed Sep 19, 2011
2 parents ffbc0a4 + 5936cdd commit e2f28157e7086c9bf036923597ddfbe9657108f0
Showing with 5 additions and 5 deletions.
  1. +1 −5 Classes/ASIWebPageRequest/ASIWebPageRequest.h
  2. +4 −0 Classes/ASIWebPageRequest/ASIWebPageRequest.m
@@ -11,10 +11,6 @@
// Known issue: You cannot use startSychronous with an ASIWebPageRequest
#import "ASIHTTPRequest.h"
-#import <libxml/HTMLparser.h>
-#import <libxml/xmlsave.h>
-#import <libxml/xpath.h>
-#import <libxml/xpathInternals.h>
@class ASINetworkQueue;
@@ -52,7 +48,7 @@ typedef enum _ASIURLReplacementMode {
NSMutableDictionary *resourceList;
// Used internally for parsing HTML (with libxml)
- xmlDocPtr doc;
+ struct _xmlDoc *doc;
// 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;
@@ -10,6 +10,10 @@
#import "ASIWebPageRequest.h"
#import "ASINetworkQueue.h"
#import <CommonCrypto/CommonHMAC.h>
+#import <libxml/HTMLparser.h>
+#import <libxml/xmlsave.h>
+#import <libxml/xpath.h>
+#import <libxml/xpathInternals.h>
// An xPath query that controls the external resources ASIWebPageRequest will fetch
// By default, it will fetch stylesheets, javascript files, images, frames, iframes, and html 5 video / audio

0 comments on commit e2f2815

Please sign in to comment.