mirror of https://github.com/scrapy/scrapy.git
Change Content-type to Content-Type (#4481)
Co-authored-by: santosh <santosh@acalvio.com>
This commit is contained in:
parent
94d7ad76cb
commit
c3257dc610
|
|
@ -71,7 +71,7 @@ class ResponseTypes:
|
|||
cls = Response
|
||||
if b'Content-Type' in headers:
|
||||
cls = self.from_content_type(
|
||||
content_type=headers[b'Content-type'],
|
||||
content_type=headers[b'Content-Type'],
|
||||
content_encoding=headers.get(b'Content-Encoding')
|
||||
)
|
||||
if cls is Response and b'Content-Disposition' in headers:
|
||||
|
|
|
|||
Loading…
Reference in New Issue