Commit b63e3bea authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

*: update obsolete MIME type in transforms.

parent f4cc3ca6
Pipeline #36823 failed with stage
in 0 seconds
...@@ -3,7 +3,7 @@ from Products.PortalTransforms.libtransforms.imagemagick_transform import ImageM ...@@ -3,7 +3,7 @@ from Products.PortalTransforms.libtransforms.imagemagick_transform import ImageM
class image_to_bmp(ImageMagickTransforms): class image_to_bmp(ImageMagickTransforms):
__name__ = "image_to_bmp" __name__ = "image_to_bmp"
inputs = ('image/*', ) inputs = ('image/*', )
output = 'image/x-ms-bmp' # image/bmp output = 'image/bmp'
format = 'bmp' format = 'bmp'
def register(): def register():
......
...@@ -3,7 +3,7 @@ from Products.PortalTransforms.libtransforms.imagemagick_transform import ImageM ...@@ -3,7 +3,7 @@ from Products.PortalTransforms.libtransforms.imagemagick_transform import ImageM
class image_to_pcx(ImageMagickTransforms): class image_to_pcx(ImageMagickTransforms):
__name__ = "image_to_pcx" __name__ = "image_to_pcx"
inputs = ('image/*', ) inputs = ('image/*', )
output = 'image/pcx' # image/vnd.zbrush.pcx image/x-pcx output = 'image/vnd.zbrush.pcx'
format = 'pcx' format = 'pcx'
def register(): def register():
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<key> <string>inputs</string> </key> <key> <string>inputs</string> </key>
<value> <value>
<list> <list>
<string>text/comma-separated-values</string> <string>text/csv</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
<key> <string>data</string> </key> <key> <string>data</string> </key>
<value> <value>
<list> <list>
<string>text/comma-separated-values</string> <string>text/csv</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
</item> </item>
<item> <item>
<key> <string>output</string> </key> <key> <string>output</string> </key>
<value> <string>image/x-ms-bmp</string> </value> <value> <string>image/bmp</string> </value>
</item> </item>
<item> <item>
<key> <string>output_encoding</string> </key> <key> <string>output_encoding</string> </key>
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
</item> </item>
<item> <item>
<key> <string>output</string> </key> <key> <string>output</string> </key>
<value> <string>image/pcx</string> </value> <value> <string>image/vnd.zbrush.pcx</string> </value>
</item> </item>
<item> <item>
<key> <string>output_encoding</string> </key> <key> <string>output_encoding</string> </key>
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
<key> <string>inputs</string> </key> <key> <string>inputs</string> </key>
<value> <value>
<list> <list>
<string>application/x-httpd-php</string> <string>application/x-php</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
<key> <string>data</string> </key> <key> <string>data</string> </key>
<value> <value>
<list> <list>
<string>application/x-httpd-php</string> <string>application/x-php</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
</item> </item>
<item> <item>
<key> <string>output</string> </key> <key> <string>output</string> </key>
<value> <string>image/x-ms-bmp</string> </value> <value> <string>image/bmp</string> </value>
</item> </item>
<item> <item>
<key> <string>output_encoding</string> </key> <key> <string>output_encoding</string> </key>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment