From 1cf43e501784731678d52655b2bb9fa67734cb12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Kr=C3=B6ger?= Date: Fri, 23 Aug 2019 23:48:16 +0200 Subject: Handle multiple Content-Type headers correctly (#31238) * Handle multiple Content-Type headers correctly Avoids situations where mulitple Content-Type headers including charset information can result in errors like ``` LookupError: unknown encoding: UTF-8, text/html ``` * Account for multiple conflicting values for content-type and charset * Add changelog fragment --- changelogs/fragments/31238-uri-multi-content-type.yaml | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 changelogs/fragments/31238-uri-multi-content-type.yaml (limited to 'changelogs') diff --git a/changelogs/fragments/31238-uri-multi-content-type.yaml b/changelogs/fragments/31238-uri-multi-content-type.yaml new file mode 100644 index 0000000000..2aa6ff7100 --- /dev/null +++ b/changelogs/fragments/31238-uri-multi-content-type.yaml @@ -0,0 +1,3 @@ +bugfixes: +- uri - Handle multiple Content-Type headers correctly + (https://github.com/ansible/ansible/pull/31238) -- cgit v1.2.1