silkapp/rest

Misleading documentation at fileO

ryskajakub opened this issue · 2 comments

It would be nice to correct / make clearer the documentation on this line:

-- | Allow file output using a combination of the raw data and a mime type.

At least I tried to put there the combination of a ByteString and "image/jpeg" with the hope that it would use the latter for mime/type whereas it uses it for file name.

Thanks for reporting! That comment has been wrong for a long time...

Released as rest-core 0.36.0.5.