Timur Sufiev f85d2fdbb7 Fix the loss of JSON types when using multipart/form-data
To pass a binary blob in a POST request, browser sets the header
'Content-Type: multipart/form-data', which in turn causes all form
fields' values to be passed as strings. Circumvent this by storing
original field values as a JSON string on client-side and decoding it
on server-side. As a result the setting HORIZON_IMAGES_UPLOAD_MODE =
'legacy' will start working together with Glance V2.

Closes-Bug: #1613703
Change-Id: I53a8fbba15e4c3c6c17d6ef1ffe701634efda149
2016-08-18 06:19:13 +00:00
..
2016-02-25 12:12:14 -08:00
2016-06-21 13:12:43 +00:00
2016-07-18 13:30:51 -07:00
2016-06-21 13:12:43 +00:00
2016-03-28 11:03:08 +01:00