on master help sign in
Merge pull request #207 from rgrinberg/master

typos

commit2ed89f1a1723ab40862d8ed14da10efb79a200dc authorKazu Yamamoto <kazu@iij.ad.jp> dateSat 21 Dec 2013, 14:53 (13 years ago) parent6ebfc9c1b853e6
2 files changed+2−2
wai-extra/Network/Wai/Middleware/MethodOverride.hs+1−1 wai-extra/Network/Wai/Middleware/MethodOverridePost.hs+1−1
wai-extra/Network/Wai/Middleware/MethodOverride.hs+1−1
@@ -9,7 +9,7 @@ import Control.Monad (join)
99-- | Allows overriding of the HTTP request method via the _method query string
1010-- parameter.
1111--
12−-- This middlware only applies when the initial request method is POST. This
12+-- This middleware only applies when the initial request method is POST. This
1313-- allow submitting of normal HTML forms, without worries of semantics
1414-- mismatches in the HTTP spec.
1515methodOverride :: Middleware
wai-extra/Network/Wai/Middleware/MethodOverridePost.hs+1−1
@@ -23,7 +23,7 @@ import Data.Conduit.List (sourceList)
2323-- then it changes the request-method to the value of that
2424-- parameter.
2525--
26−-- * This middlware only applies when the initial request method is POST.
26+-- * This middleware only applies when the initial request method is POST.
2727--
2828methodOverridePost :: Middleware
2929methodOverridePost app req = case (requestMethod req, lookup "Content-Type" (requestHeaders req)) of