On Oct 29, 2015, at 4:51 PM, Todd Freese 
<[email protected]<mailto:[email protected]>> wrote:

However, I need to have a download button that actually downloads the 
attachment to disk. Are there any header that I can set to force a request for 
an attachment to download?

I believe the HTTP Content-Disposition response header is used to tell a 
browser to download a resource to disk instead of displaying it. Check the HTTP 
1.1 spec.

You could use a proxy like nginx or Apache to add such a header to the 
appropriate responses.

—Jens

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase Mobile" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/mobile-couchbase/7D229B07-B562-432D-A587-17404BEE54E5%40couchbase.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to