Sorry for missing this message earlier.
The HTTP API that Clutch calls for get-attachment does return the
content type of the returned resource. We might be able to add
another couple of vars that you can opt into binding that would be
populated with the content type and attachment size. This would allow
the return of get-attachment to remain an inputstream, but provide
access to those auxiliary return datums.
If you could, please open a ticket on the repo (
https://github.com/
clojure-clutch/clutch) for this.
Thanks,
- Chas
On Feb 14, 6:04 am, Miikka Miettinen <
miikka.mietti...@gmail.com>
wrote: