snapframework/snap — pull request #127 by sopvop (2014-10-03 15:02:14+00:00)
Title: serveSnaplet now uses httpServe

simpleHttpServe does not setup reverse proxy, this makes serveSnaplet unusable behind proxy. Though user can add behindProxy combinator to his routes, routes installed by snaplets, like heist will not work properly.

For example you can access heist reload route on snap homepage, because it thinks you are accessing from localhost.

So either serveSnaplet should receive huge warning in docs concerning this behaviour, and example of proper usage of runSnaplet together with httpServe. Or switch to httpServe.