Mention that servant servers don't comply with allow header setting
commit4f5e6ba25a92a41e1e2543390ff474252ed4259f
authorJulian K. Arni <jkarni@gmail.com>
dateMon 17 Oct 2016, 13:04 (10 years ago)
parentae07497
src/Servant/QuickCheck/Internal/Predicates.hs+3
@@ -167,10 +167,13 @@ getsHaveLastModifiedHeader
167167-- This function checks that every @405 Method Not Allowed@ response contains
168168-- an @Allow@ header with a list of standard HTTP methods.
169169--
170+-- Note that 'servant' itself does not currently set the @Allow@ headers.
171+--
170172-- __References__:
171173--
172174-- * @Allow@ header: <https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html RFC 2616 Section 14.7>
173175-- * Status 405: <https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html RFC 2616 Section 10.4.6>
176+-- * Servant Allow header issue: <https://github.com/haskell-servant/servant/issues/489 Issue #489>
174177--
175178-- /Since 0.0.0.0/
176179notAllowedContainsAllowHeader :: RequestPredicate