Update git submodules
* Update swift from branch 'master' to 94f21e15ae2cc22b249f3a76a6cb7c98e540fc8c - Merge "Individual content types for multi form upload" - Individual content types for multi form upload When uploading multiple files through the form upload middleware it would take the first file's content type and encoding and wrongly apply it to all the uploaded files. This was because there was a shared 'attributes' dict for all body parts which was (correctly) filled from all the non-file parts. The file parts however would also set their 'Content-Type' and 'Content-Encoding' header values in the attributes dict. The content type/encoding handling made sure to not overwrite existing values in the dict. Thus the first file to specify such a header value would win. Now the individual files get their own content types/encodings by applying the file part content type/encoding headers only to a copy of the dict. The file parts' headers continue to be ignored if they are overridden by explicit 'content-type'/'content-encoding' body parts. Closes-Bug: #1916017 Change-Id: I0a921afc481ef5b98cd5974c45d4b1d3e2a15731
This commit is contained in:
parent
e5e59ba4e3
commit
8241ec70af
2
swift
2
swift
|
@ -1 +1 @@
|
|||
Subproject commit f7f1553edb7e3dbe57507113b730ee1f77472928
|
||||
Subproject commit 94f21e15ae2cc22b249f3a76a6cb7c98e540fc8c
|
Loading…
Reference in New Issue