Change Content-type to Content-Type (#4481)

Co-authored-by: santosh <santosh@acalvio.com>
This commit is contained in:
santoshkosgi 2020-04-15 17:54:10 +05:30 committed by GitHub
parent 94d7ad76cb
commit c3257dc610
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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: