@@ -36,14 +36,6 @@ module Network.Wai
36 -- $show_read
36 -- $show_read
37 -- ** Request method
37 -- ** Request method
47 -- ** HTTP protocol versions
39 -- ** HTTP protocol versions
48 , HttpVersion
40 , HttpVersion
@@ -99,30 +91,6 @@ import Data.String (IsString (..))
99-- by converting to a 'B.ByteString' via 'methodToBS'.
91-- by converting to a 'B.ByteString' via 'methodToBS'.
100type Method = B.ByteString
92type Method = B.ByteString
102−methodOPTIONS :: Method
103−methodOPTIONS = B8.pack "OPTIONS"
106−methodGET = B8.pack "GET"
109−methodHEAD = B8.pack "HEAD"
112−methodPOST = B8.pack "POST"
115−methodPUT = B8.pack "PUT"
117−methodDELETE :: Method
118−methodDELETE = B8.pack "DELETE"
120−methodTRACE :: Method
121−methodTRACE = B8.pack "TRACE"
123−methodCONNECT :: Method
124−methodCONNECT = B8.pack "CONNECT"
126-- | Version of HTTP protocol used in current request. This data type is
94-- | Version of HTTP protocol used in current request. This data type is
127-- extensible via the HttpVersion constructor. Comparison is achieved by
95-- extensible via the HttpVersion constructor. Comparison is achieved by
128-- converting to a 'B.ByteString' via 'httpVersionToBS'.
96-- converting to a 'B.ByteString' via 'httpVersionToBS'.