Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Merge remote-tracking branch 'upstream/master' into case-insensitive-dict

Eugenio Lacuesta7297ae566f02
diff --cc scrapy/pipelines/files.py
index 471c01ead,5c52c6c28..72e210469
--- a/scrapy/pipelines/files.py
+++ b/scrapy/pipelines/files.py
@@@ -142,10 -142,10 +142,10 @@@ class S3FilesStore
**extra)
def _headers_to_botocore_kwargs(self, headers):
- """ Convert headers to botocore keyword agruments.
+ """ Convert headers to botocore keyword arguments.
"""
# This is required while we need to support both boto and botocore.
- mapping = CaselessDict({
+ mapping = CaseInsensitiveDict({
'Content-Type': 'ContentType',
'Cache-Control': 'CacheControl',
'Content-Disposition': 'ContentDisposition',