X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=Lucu.git;a=blobdiff_plain;f=Network%2FHTTP%2FLucu%2FResource%2FInternal.hs;fp=Network%2FHTTP%2FLucu%2FResource%2FInternal.hs;h=7398f93e045cff87dd51b1241e23b0da70bcd3ca;hp=d0d18b79afe6bcd5de2dbe4810fbac0e51d65120;hb=f093019cb10a88fee13b8c99d05b60f895ceb01f;hpb=243b99439640480fc148d2e175247dacce04a222 diff --git a/Network/HTTP/Lucu/Resource/Internal.hs b/Network/HTTP/Lucu/Resource/Internal.hs index d0d18b7..7398f93 100644 --- a/Network/HTTP/Lucu/Resource/Internal.hs +++ b/Network/HTTP/Lucu/Resource/Internal.hs @@ -187,8 +187,8 @@ spawnRsrc (Resource {..}) ni@(NI {..}) $ map cs allowedMethods allowedMethods ∷ [Ascii] - allowedMethods = nub $ concat [ methods resGet ["GET"] - , methods resHead ["GET", "HEAD"] + allowedMethods = nub $ concat [ methods resGet ["GET", "HEAD"] + , methods resHead ["HEAD"] , methods resPost ["POST"] , methods resPut ["PUT"] , methods resDelete ["DELETE"]