salvia-protocol-1.0.1: Salvia webserver protocol suite supporting URI, HTTP, Cookie and MIME.

Network.Protocol.Uri.Remap

Synopsis

Documentation

remap :: (Uri, Uri) -> Uri -> Maybe UriSource

Map one URI to another using a URI mapping scheme. A URI mapping scheme is simply a pair of URIs of which only the host part, port number and path will be taken into account when mapping.