X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Lucu.git;a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FResource.hs;h=15b211fba6d17872dc6201a55d8a69bdfd42c326;hp=34c1a725634b6485df32d7e5e302238e44cf78b4;hb=8bdd1da1ee1f3e453dbe2bce246618e12e26d30c;hpb=f391e9a68a654b9f6477cf64330986c94bc7549d diff --git a/Network/HTTP/Lucu/Resource.hs b/Network/HTTP/Lucu/Resource.hs index 34c1a72..15b211f 100644 --- a/Network/HTTP/Lucu/Resource.hs +++ b/Network/HTTP/Lucu/Resource.hs @@ -413,7 +413,7 @@ getAuthorization -- |Tell the system that the 'Resource' found an entity for the -- request URI. If this is a GET or HEAD request, a found entity means -- a datum to be replied. If this is a PUT or DELETE request, it means --- a datum which was stored for the URI up to now. It is an error to +-- a datum which was stored for the URI until now. It is an error to -- compute 'foundEntity' if this is a POST request. -- -- Computation of 'foundEntity' performs \"If-Match\" test or @@ -434,7 +434,7 @@ foundEntity tag timeStamp $ setHeader' (C8.pack "Last-Modified") (C8.pack $ HTTP.format timeStamp) when (method == POST) $ abort InternalServerError [] - (Just "Illegal computation of foundEntity for POST request.") + (Just "Illegal computation of foundEntity for a POST request.") foundETag tag driftTo GettingBody