mirror of
https://github.com/kennethreitz/requests.git
synced 2026-06-05 22:50:18 +00:00
Added Josselin Jacquard to AUTHORS
This commit is contained in:
@@ -42,3 +42,4 @@ Patches and Suggestions
|
||||
- Alejandro Giacometti
|
||||
- Rick Mak
|
||||
- Johan Bergström
|
||||
- Josselin Jacquard
|
||||
|
||||
+4
-2
@@ -150,8 +150,10 @@ def get_encoding_from_headers(headers):
|
||||
"""
|
||||
|
||||
content_type = headers.get('content-type')
|
||||
if not content_type :
|
||||
return
|
||||
|
||||
if not content_type:
|
||||
return None
|
||||
|
||||
content_type, params = cgi.parse_header(content_type)
|
||||
|
||||
if 'charset' in params:
|
||||
|
||||
Reference in New Issue
Block a user