on master help sign in
Define Trailers more appropriately as [Header]
787da16Andrew Pritchard
wai/Network/Wai/HTTP2.hs+1−1
@@ -16,7 +16,7 @@ import qualified Network.Wai.Internal as H1 (Request)
16
16
17-- | Headers sent after the end of a data stream, as defined by section 4.1.2 of
17-- | Headers sent after the end of a data stream, as defined by section 4.1.2 of
18-- the HTTP\/1.1 spec (RFC 7230), and section 8.1 of the HTTP\/2 spec.
18-- the HTTP\/1.1 spec (RFC 7230), and section 8.1 of the HTTP\/2 spec.
19−type Trailers = H.ResponseHeaders
19+type Trailers = [H.Header]
20
20
21-- | The synthesized request and headers of a pushed stream.
21-- | The synthesized request and headers of a pushed stream.
22-- TODO(awpr): implement for real.
22-- TODO(awpr): implement for real.