code: def python_mime(fn):
      
      @wraps(fn)
      def python_mime_decorator(*args, **kwargs):
          response.content_type = "text/x-python"
  
          return fn(*args, **kwargs)
  
      return python_mime_decorator
docs: Decorator, which adds correct MIME type for python source to the decorated
      bottle API function.