Permalink
Browse files

use def, omit script name

  • Loading branch information...
1 parent 0afa883 commit 061dff9d4b083b192129c965dcfd6e1687c27b04 @nfjinjing committed Jun 20, 2011
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/Hack2/Handler/HappstackServer.hs
@@ -61,7 +61,6 @@ appToServerPart conf app = askRq >>= \req -> liftIO $ (app $ reqToEnv req) >>= h
reqToEnv req =
def
{ Hack2.requestMethod = convertRequestMethod $ rqMethod req
- , Hack2.scriptName = S.empty
, Hack2.pathInfo = S.pack $ escape $ "/" ++ (intercalate "/" $ rqPaths req)
, Hack2.queryString = S.pack $ escape $ dropWhile (== '?') $ rqQuery req
, Hack2.serverName = l2s $ serverName conf

0 comments on commit 061dff9

Please sign in to comment.