mirror of
https://github.com/scrapy/scrapy.git
synced 2025-02-26 16:03:49 +00:00
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…
x
Reference in New Issue
Block a user