darcswatch-0.1: example/mails/patchOKsIKA
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
New patches:
[Add rqUri field to Record
Joachim Breitner <mail@joachim-breitner.de>**20080403110245
This makes sure the exact Uri is not lost (otherwise a trailing slash would be
lost to the rest of the HAppS code). This makes it possible to write a handler
like this:
addSlash :: Monad m => ServerPartT m Response
addSlash = ServerPartT $ \rq -> do
case last (rqUri rq) of
'/' -> noHandle
_ -> seeOther (rqUri rq ++ "/" ++ rqQuery rq) $
toResponse "Missing trainling slash"
which ensures that all paths end with a trailing slash, or of course a similar
removeSlash handler, to make relative paths in HTML links behave nicely.
More on this issue at http://groups.google.com/group/HAppS/browse_frm/thread/4065c842b1cfe7c7
] {
hunk ./src/HAppS/Server/HTTP/Handler.hs 69
- - rqTmp = Request m (pathEls (path u)) (query u)
+ rqTmp = Request m (pathEls (path u)) (path u) (query u)
hunk ./src/HAppS/Server/HTTP/Types.hs 94
+ rqUri :: String,
}
Context:
[Fix typo in runTests.sh
lemmih <lemmih@vo.com>**20080314160613]
[Fix haddock annotation and bump version.
Lemmih <lemmih@vo.com>**20080229152550]
[Cabal wibble.
Lemmih <lemmih@vo.com>**20080222232935]
[Cabal wibble.
Lemmih <lemmih@vo.com>**20080222232730]
[TAG 0.9.2
Lemmih <lemmih@vo.com>**20080222225514]
[Bump version to 0.9.2
Lemmih <lemmih@vo.com>**20080222225151]
[Update snippet in package-info.xml
Lemmih <lemmih@vo.com>**20080222223603]
[Don't rely on Xml for serialization.
Lemmih <lemmih@vo.com>**20080222223302]
[Match changes in HAppS-State.
Lemmih <lemmih@vo.com>**20080218201437]
[fix conflicts
alex@happs.org**20080216004432]
[Match development in HAppS-State.
Lemmih <lemmih@vo.com>**20080215010026]
[Match changes in HAppS-State.
Lemmih <lemmih@vo.com>**20080215004016]
[Comment for AllIn.hs
Lemmih <lemmih@vo.com>**20080214234424]
[Don't use Xml for serialization.
Lemmih <lemmih@vo.com>**20080214233742]
[Don't export Cron from SimpleHTTP.
Lemmih <lemmih@vo.com>**20080212154505]
[Remove ServerPart.hs
Lemmih <lemmih@vo.com>**20080212154312]
[Update examples to match development in HAppS-State.
Lemmih <lemmih@vo.com>**20080212142058]
[Show usage of componentInit in AllIn.hs
Lemmih <lemmih@vo.com>**20080212011338]
[TAG 0.9.1.5
Lemmih <lemmih@vo.com>**20080209112439]
Patch bundle hash:
2cfe23050f9e12a183d2bdf2a397e838784bfe47
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH9Ll99ijrk0dDIGwRAocCAKC+7c5MEvlsUVPGNe5y3S8qitrHcgCcCzZ9
Fw7xAlKqKaaml0NAiSkTO7E=
=vZHQ
-----END PGP SIGNATURE-----