Discussion:
ANN: happstack-server-6.6.5
Jeremy Shaw
2012-03-27 18:28:20 UTC
Permalink
Hello,

I just released happstack-server-6.6.5. It contains two notable changes:

1. rqPaths is now unicode decoded

This means that, dir, path and anything else that examines rqPaths can
handle unicode symbols in the path segment. Here is a little demo app,
http://hpaste.org/66072

2. GET now implies HEAD

donri updated MatchMethod so that 'GET' implies 'HEAD'. For example,
'method GET', will match on a GET request or a HEAD request. For the most
part you do not have to do anything. Happstack already takes care of
sending only the headers and no response body when the request method is
HEAD. However, before this only happened if you actually bothered to write,
method [HEAD, GET], instead of, method GET. The new behavior seems more
sensible. If you really must match on *only* GET there is a work-around
mentioned in the haddock docs.

Thanks donri and Semen Trygubenko!

- jeremy
--
You received this message because you are subscribed to the Google Groups "HAppS" group.
To post to this group, send email to happs-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
To unsubscribe from this group, send email to happs+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit this group at http://groups.google.com/group/happs?hl=en.
Loading...