yesodweb/wai — pull request #268 by andygill (2014-06-23 23:06:29+00:00)
Title: Adding a local-only middleware.

Taken from blank-canvas.

It is generally useful - this middleware rejects non-local connections with a specific response.