Merge pull request #207 from rgrinberg/master

typos
This commit is contained in:
Kazu Yamamoto 2013-12-21 14:53:18 -08:00
commit 2ed89f1a17
2 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ import Control.Monad (join)
-- | Allows overriding of the HTTP request method via the _method query string
-- parameter.
--
-- This middlware only applies when the initial request method is POST. This
-- This middleware only applies when the initial request method is POST. This
-- allow submitting of normal HTML forms, without worries of semantics
-- mismatches in the HTTP spec.
methodOverride :: Middleware

View File

@ -23,7 +23,7 @@ import Data.Conduit.List (sourceList)
-- then it changes the request-method to the value of that
-- parameter.
--
-- * This middlware only applies when the initial request method is POST.
-- * This middleware only applies when the initial request method is POST.
--
methodOverridePost :: Middleware
methodOverridePost app req = case (requestMethod req, lookup "Content-Type" (requestHeaders req)) of