Added application/xml mimetype to the known response types

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40769
This commit is contained in:
elpolilla 2009-01-26 15:03:14 +00:00
parent b9d3a2cb96
commit 74661d54d0
1 changed files with 1 additions and 0 deletions

View File

@ -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',
}