packages feed

rest-core 0.36.0.4 → 0.36.0.5

raw patch · 3 files changed

+10/−2 lines, 3 filesdep ~HUnitPVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: HUnit

API changes (from Hackage documentation)

- Rest.Dictionary.Types: data Dict h_abdj p_abdk i_abdl o_abdm e_abdn
+ Rest.Dictionary.Types: data Dict h_abdk p_abdl i_abdm o_abdn e_abdo

Files

CHANGELOG.md view
@@ -1,5 +1,9 @@ # Changelog +#### 0.36.0.5++* Fix documentation for `fileO`.+ #### 0.36.0.4  * Drop (internal) dependency on either, this removes 20(!) transitive
rest-core.cabal view
@@ -1,5 +1,5 @@ name:                rest-core-version:             0.36.0.4+version:             0.36.0.5 description:         Rest API library. synopsis:            Rest API library. maintainer:          code@silk.co
src/Rest/Dictionary/Combinators.hs view
@@ -145,7 +145,11 @@ stringO :: Dict h p i Nothing e -> Dict h p i (Just String) e stringO = L.set outputs (Dicts [StringO]) --- | Allow file output using a combination of the raw data and a mime type.+-- | Allow file output using a combination of the raw data, the file+-- name, and an attachment flag (causing the file to be downloaded by+-- browsers instead of shown). The mime type will be determined from+-- the file extension by your web server library, or+-- "application/octet-stream" with an unknown extension.  fileO :: Dict h p i Nothing e -> Dict h p i (Just (ByteString, String, Bool)) e fileO = L.set outputs (Dicts [FileO])