mirror of https://github.com/scrapy/scrapy.git
fixed typo
This commit is contained in:
parent
949e11ee31
commit
7abc4b4c5a
|
|
@ -51,7 +51,7 @@ class SitemapSpider(BaseSpider):
|
|||
|
||||
def is_gzipped(response):
|
||||
ctype = response.headers.get('Content-Type', '')
|
||||
return ctype in ('application/x-gzip', 'applicatoin/gzip')
|
||||
return ctype in ('application/x-gzip', 'application/gzip')
|
||||
|
||||
def regex(x):
|
||||
if isinstance(x, basestring):
|
||||
|
|
|
|||
Loading…
Reference in New Issue