on master help sign in
Add a note about change in signature of ‘makeResponseBodyPreview’
b2600e7mrkkrp
Network/HTTP/Req.hs+4−1
@@ -1498,7 +1498,10 @@ class HttpResponse response where
1498 -- length to 1024 bytes. This is mainly useful for inclusion of response
1498 -- length to 1024 bytes. This is mainly useful for inclusion of response
1499 -- body fragments in exceptions.
1499 -- body fragments in exceptions.
1500 --
1500 --
1501− -- @since 0.3.0
1501+ -- __Note__: in versions 0.3.0–0.4.0 this function returned @'IO'
1502+ -- 'ByteString'@.
1503+ --
1504+ -- @since 0.5.0
1502
1505
1503 makeResponseBodyPreview :: response -> ByteString
1506 makeResponseBodyPreview :: response -> ByteString
1504
1507