20032: Fix unnecessary race in test.
[arvados.git] / apps / workbench / config / initializers / mime_types.rb
index 13d15e2d4dd0abcb79c8645c254e911fc289f11d..69781a1bee0b1c376e3857684fb94b6b49bda25b 100644 (file)
@@ -1,3 +1,7 @@
+# Copyright (C) The Arvados Authors. All rights reserved.
+#
+# SPDX-License-Identifier: AGPL-3.0
+
 # Be sure to restart your server when you modify this file.
 
 # Add new mime types for use in respond_to blocks:
@@ -13,6 +17,7 @@ include MIME
   %w(go),
   %w(r),
   %w(sam),
+  %w(python py),
 ].each do |suffixes|
   if (MIME::Types.type_for(suffixes[0]).first.nil?)
     MIME::Types.add(MIME::Type.new(["application/#{suffixes[0]}", suffixes]))