From 4f5e6ba25a92a41e1e2543390ff474252ed4259f Mon Sep 17 00:00:00 2001 From: "Julian K. Arni" Date: Mon, 17 Oct 2016 13:04:29 +0200 Subject: [PATCH] Mention that servant servers don't comply with allow header setting --- src/Servant/QuickCheck/Internal/Predicates.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Servant/QuickCheck/Internal/Predicates.hs b/src/Servant/QuickCheck/Internal/Predicates.hs index 1fc4f90..4220250 100644 --- a/src/Servant/QuickCheck/Internal/Predicates.hs +++ b/src/Servant/QuickCheck/Internal/Predicates.hs @@ -167,10 +167,13 @@ getsHaveLastModifiedHeader -- This function checks that every @405 Method Not Allowed@ response contains -- an @Allow@ header with a list of standard HTTP methods. -- +-- Note that 'servant' itself does not currently set the @Allow@ headers. +-- -- __References__: -- -- * @Allow@ header: -- * Status 405: +-- * Servant Allow header issue: -- -- /Since 0.0.0.0/ notAllowedContainsAllowHeader :: RequestPredicate