From 74661d54d0e806c79f71b5e2609ad5aad4dba0b4 Mon Sep 17 00:00:00 2001 From: elpolilla Date: Mon, 26 Jan 2009 15:03:14 +0000 Subject: [PATCH] Added application/xml mimetype to the known response types --HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40769 --- scrapy/trunk/scrapy/core/downloader/responsetypes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scrapy/trunk/scrapy/core/downloader/responsetypes.py b/scrapy/trunk/scrapy/core/downloader/responsetypes.py index 689f85eab..7a5921552 100644 --- a/scrapy/trunk/scrapy/core/downloader/responsetypes.py +++ b/scrapy/trunk/scrapy/core/downloader/responsetypes.py @@ -15,6 +15,7 @@ class ResponseTypes(object): CLASSES = { 'text/html': 'scrapy.http.HtmlResponse', + 'application/xml': 'scrapy.http.XmlResponse', 'text/xml': 'scrapy.http.XmlResponse', 'text': 'scrapy.http.TextResponse', }