-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is a hacky work around colly's handleOnXML behaviour which considers any response body with content-type containing the substring "xml" to be parsed as XML. This is an incorrect assumption for docx, xlsx files which aren't strictly xml structured and cause parsing errors. Here we remove "xml" from those content types to prevent them being parsed.
- Loading branch information
1 parent
2a504ac
commit 8797420
Showing
2 changed files
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters