yesodweb/wai — pull request #317 by pparkkin (2014-12-22 13:52:19+00:00)
Title: WAI middleware that converts a ResponseFile into ResponseStream.

Code and a simple test case.

I had a hard time figuring out a good test case, since the whole point is to make file responses look like file responses despite being a stream internally. I did add a couple to make sure it's not completely broken at least.

In response to issue #315 .