Skip to content

Commit

Permalink
Merge pull request pokeb#163 from 0xced/master
Browse files Browse the repository at this point in the history
Fixed a typo + libxml is hidden from ASIWebPageRequest header
  • Loading branch information
pokeb committed Sep 19, 2011
2 parents ffbc0a4 + 5936cdd commit e2f2815
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 1 addition & 5 deletions Classes/ASIWebPageRequest/ASIWebPageRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;
Expand Down
4 changes: 4 additions & 0 deletions Classes/ASIWebPageRequest/ASIWebPageRequest.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e2f2815

Please sign in to comment.