On this page:
path->mime-type

17 MIME

 (require koyo/mime) package: koyo-lib

This module provides utilities for working with MIME types.

procedure

(path->mime-type p)  (or/c false/c bytes?)

  p : path?
Given a path p, this function looks up the mime type for that path (based on its extension) and returns it. The backing mime type mapping for this function is the same one that the nginx web server uses.