Skip to content

Instantly share code, notes, and snippets.

@samth samth/web-server-test.rkt Secret

Last active Feb 9, 2016
What would you like to do?
#lang racket
(require web-server/dispatchers/filesystem-map net/url)
(with-handlers ([exn:fail? (λ _ (printf "Up to date!\n"))])
((make-url->path "/a/b/c")
(string->url ""))
(printf "Out of date!\n"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.