wai-app-file-cgi 0.1.1 → 0.1.2
raw patch · 3 files changed
+4/−4 lines, 3 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Network/Wai/Application/Classic/CGI.hs +1/−1
- Network/Wai/Application/Classic/File.hs +2/−2
- wai-app-file-cgi.cabal +1/−1
Network/Wai/Application/Classic/CGI.hs view
@@ -45,7 +45,7 @@ cgiApp spec cgii req = case method of "GET" -> cgiApp' False spec cgii req "POST" -> cgiApp' True spec cgii req- _ -> return $ responseLBS statusNotAllowed textPlain "Method Not Allowed"+ _ -> return $ responseLBS statusNotAllowed textPlain "Method Not Allowed\r\n" where method = requestMethod req
Network/Wai/Application/Classic/File.hs view
@@ -142,7 +142,7 @@ ---------------------------------------------------------------- notFound :: RspSpec-notFound = RspSpec statusNotFound textPlain (BodyLBS "Not Found")+notFound = RspSpec statusNotFound textPlain (BodyLBS "Not Found\r\n") notAllowed :: RspSpec-notAllowed = RspSpec statusNotAllowed textPlain (BodyLBS "Method Not Allowed")+notAllowed = RspSpec statusNotAllowed textPlain (BodyLBS "Method Not Allowed\r\n")
wai-app-file-cgi.cabal view
@@ -1,5 +1,5 @@ Name: wai-app-file-cgi-Version: 0.1.1+Version: 0.1.2 Author: Kazu Yamamoto <kazu@iij.ad.jp> Maintainer: Kazu Yamamoto <kazu@iij.ad.jp> License: BSD3