happstack-server 7.3.7 → 7.3.8
raw patch · 2 files changed
+11/−3 lines, 2 filesdep +network-uridep ~networkPVP ok
version bump matches the API change (PVP)
Dependencies added: network-uri
Dependency ranges changed: network
API changes (from Hackage documentation)
Files
happstack-server.cabal view
@@ -1,5 +1,5 @@ Name: happstack-server-Version: 7.3.7+Version: 7.3.8 Synopsis: Web related tools and services. Description: Happstack Server provides an HTTP server and a rich set of functions for routing requests, handling query parameters, generating responses, working with cookies, serving files, and more. For in-depth documentation see the Happstack Crash Course <http://happstack.com/docs/crashcourse/index.html> License: BSD3@@ -22,6 +22,10 @@ Default: True Manual: True +flag network-uri+ description: Get Network.URI from the network-uri package+ default: True+ Library Exposed-modules: Happstack.Server@@ -64,6 +68,11 @@ Happstack.Server.SURI.ParseURI Paths_happstack_server + if flag(network-uri)+ build-depends: network > 2.6,+ network-uri >= 2.6+ else+ build-depends: network < 2.6 Build-Depends: base >= 4 && < 5, base64-bytestring == 1.0.*, blaze-html >= 0.5 && < 0.8,@@ -76,7 +85,6 @@ html, monad-control >= 0.3 && < 0.4, mtl >= 2 && < 2.3,- network >= 2.2.3 && < 2.6, old-locale, parsec < 4, process,
src/Happstack/Server/Routing.hs view
@@ -85,7 +85,7 @@ -- -- > handler :: ServerPart Response -- > handler =--- > do https+-- > do http -- > ... http :: (ServerMonad m, MonadPlus m) => m () http = guardRq (not . rqSecure)