added 3 common content-types (for feeds) to ResponseTypes class

This commit is contained in:
Pablo Hoffman 2009-08-06 11:37:20 -03:00
parent a23ff37050
commit de48406f10
1 changed files with 3 additions and 0 deletions

View File

@ -16,6 +16,9 @@ class ResponseTypes(object):
CLASSES = {
'text/html': 'scrapy.http.HtmlResponse',
'application/atom+xml': 'scrapy.http.XmlResponse',
'application/rdf+xml': 'scrapy.http.XmlResponse',
'application/rss+xml': 'scrapy.http.XmlResponse',
'application/xhtml+xml': 'scrapy.http.HtmlResponse',
'application/xml': 'scrapy.http.XmlResponse',
'text/xml': 'scrapy.http.XmlResponse',