mirror of https://github.com/scrapy/scrapy.git
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:
parent
b9d3a2cb96
commit
74661d54d0
|
|
@ -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',
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue