on master help sign in
Removed method functions
e2527fbMichael Snoyman
Network/Wai.hs−32
@@ -36,14 +36,6 @@ module Network.Wai
36 -- $show_read
36 -- $show_read
37 -- ** Request method
37 -- ** Request method
38 Method
38 Method
39− , methodOPTIONS
40− , methodGET
41− , methodHEAD
42− , methodPOST
43− , methodPUT
44− , methodDELETE
45− , methodTRACE
46− , methodCONNECT
47 -- ** HTTP protocol versions
39 -- ** HTTP protocol versions
48 , HttpVersion
40 , HttpVersion
49 , http09
41 , http09
@@ -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
101
93
102−methodOPTIONS :: Method
103−methodOPTIONS = B8.pack "OPTIONS"
104−
105−methodGET :: Method
106−methodGET = B8.pack "GET"
107−
108−methodHEAD :: Method
109−methodHEAD = B8.pack "HEAD"
110−
111−methodPOST :: Method
112−methodPOST = B8.pack "POST"
113−
114−methodPUT :: Method
115−methodPUT = B8.pack "PUT"
116−
117−methodDELETE :: Method
118−methodDELETE = B8.pack "DELETE"
119−
120−methodTRACE :: Method
121−methodTRACE = B8.pack "TRACE"
122−
123−methodCONNECT :: Method
124−methodCONNECT = B8.pack "CONNECT"
125−
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'.