link to download content in encoded form

todo: move headers, download and encoded-downloaded
components to a panel, to be reused between request and response.