module Kemal::Utils

Defined in:

kemal/helpers/utils.cr

Constant Summary

ZIP_TYPES = [".htm", ".html", ".txt", ".css", ".js", ".svg", ".json", ".xml", ".otf", ".ttf", ".woff", ".woff2"]

Class Method Summary

Class Method Detail

def self.mime_type(path : String) #

[View source]
def self.path_starts_with_slash?(path : String) #

[View source]
def self.zip_types(path : String) #

[View source]