How can I send a DOMRepresentation and a FileRepresentation as part of the same response? I have read somewhere in the forum thats its not possible. In that case how to tackle such kind of use-cases.
My use case requires me to send a String(contents of a page) and an attachment(typically a File) back to the client as part of Response. Notwithstanding the drawbacks is there a way to solve this?

