on master help sign in
Define Trailers more appropriately as [Header]
commit787da16179c76c1a1cd8d7ef61e0eb816eaabec3 authorAndrew Pritchard <awpr@google.com> dateMon 3 Aug 2015, 13:35 (11 years ago) parent13892b9
1 file changed+1−1
wai/Network/Wai/HTTP2.hs+1−1
wai/Network/Wai/HTTP2.hs+1−1
@@ -16,7 +16,7 @@ import qualified Network.Wai.Internal as H1 (Request)
1616
1717-- | Headers sent after the end of a data stream, as defined by section 4.1.2 of
1818-- 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]
2020
2121-- | The synthesized request and headers of a pushed stream.
2222-- TODO(awpr): implement for real.