Hello

I wrote a tiny library to serve external files from Ur/Web. It can be
used as:

fun css () : transaction page =
  blob <- File.read "style.css";
  returnBlob blob (blessMime "text/css")

on error an empty blob is returned.

It is available from https://bitbucket.org/taruti/urfile

- Taru Karttunen

_______________________________________________
Ur mailing list
[email protected]
http://www.impredicative.com/cgi-bin/mailman/listinfo/ur

Reply via email to