on master help sign in
Import Builder from Blaze.ByteString for old GHCs.
52ca250Andrew Pritchard
wai/Network/Wai/HTTP2.hs+8−4
@@ -14,13 +14,17 @@ module Network.Wai.HTTP2
14 , streamSimple
14 , streamSimple
15 ) where
15 ) where
16
16
17+import Blaze.ByteString.Builder (Builder)
17import Data.ByteString (ByteString)
18import Data.ByteString (ByteString)
18−
19−import Data.ByteString.Builder (Builder)
20import qualified Network.HTTP.Types as H
19import qualified Network.HTTP.Types as H
21
20
22−import Network.Wai (Application)
21+import Network.Wai (Application)
23−import Network.Wai.Internal (FilePart, Request, Response(..), ResponseReceived(..))
22+import Network.Wai.Internal
23+ ( FilePart
24+ , Request
25+ , Response(..)
26+ , ResponseReceived(..)
27+ )
24
28
25-- | Headers sent after the end of a data stream, as defined by section 4.1.2 of
29-- | Headers sent after the end of a data stream, as defined by section 4.1.2 of
26-- the HTTP\/1.1 spec (RFC 7230), and section 8.1 of the HTTP\/2 spec.
30-- the HTTP\/1.1 spec (RFC 7230), and section 8.1 of the HTTP\/2 spec.