diff options
author | Søren Kröger <soren@kroger.dk> | 2019-08-23 23:48:16 +0200 |
---|---|---|
committer | Matt Martz <matt@sivel.net> | 2019-08-23 16:48:16 -0500 |
commit | 1cf43e501784731678d52655b2bb9fa67734cb12 (patch) | |
tree | 273fe77c4ac502edd02a581b78bfafd07b56696f /changelogs | |
parent | 943b4f5a8341c291d0075f708171280b44f41803 (diff) | |
download | ansible-1cf43e501784731678d52655b2bb9fa67734cb12.tar.gz |
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
Diffstat (limited to 'changelogs')
-rw-r--r-- | changelogs/fragments/31238-uri-multi-content-type.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
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) |