Set ContentType when adding .yaml and .bom files to the catalog 56/head
authorSam Corbett <sam.corbett@cloudsoftcorp.com>
Wed, 19 Jul 2017 15:11:14 +0000 (16:11 +0100)
committerSam Corbett <sam.corbett@cloudsoftcorp.com>
Wed, 19 Jul 2017 15:11:14 +0000 (16:11 +0100)
commit635328e2b221bf2ab66cbe1336812b419b319cc1
tree9d58dfaf179670d6b276ad4bfce94c8772ae0100
parentbe8051602b7bc2ad7bf0c1975aad55d7f354048a
Set ContentType when adding .yaml and .bom files to the catalog

Using application/x-yaml saves the Brooklyn server the hassle of
guessing. At the moment it's too smart for its own good and gives
useless errors about zipfiles when there are errors in yaml files.
cli/api/catalog/catalog.go