commit 1bc300dd3697c8aa2945959e546d0b92b81447b6
Author: Lin Yang <email address hidden>
Date: Mon Aug 24 17:03:48 2015 +0800
Fix silently overwrite user specified content type
Previously, even user specified the response content type of api
'catalog/packages/<package_id>/ui', which will be silently replaced
by text/plain. To improve it, add list 'specific_content_types' to
make resource controller can specify different content type for each
action. And it will raise exception when user specified content type
is unsupported.
Reviewed: https:/ /review. openstack. org/218191 /git.openstack. org/cgit/ openstack/ murano/ commit/ ?id=1bc300dd369 7c8aa2945959e54 6d0b92b81447b6
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1bc300dd3697c8a a2945959e546d0b 92b81447b6
Author: Lin Yang <email address hidden>
Date: Mon Aug 24 17:03:48 2015 +0800
Fix silently overwrite user specified content type
Previously, even user specified the response content type of api packages/ <package_ id>/ui' , which will be silently replaced content_ types' to
'catalog/
by text/plain. To improve it, add list 'specific_
make resource controller can specify different content type for each
action. And it will raise exception when user specified content type
is unsupported.
Change-Id: I5d56461333d730 f0f9fbe715e9bb0 66e5b004203
Closes-Bug: #1476543