Ray Morris wrote:
Google Content-Disposition. This is techincally a MAIL header, not an HTTP header, I think, but the major browsers seem to pay some attention to it, at least some times.
Ah, that's perfect. Firefox honors it on "Save As...", and Safari honors it on both "Save As..." and when dragging the image to another app or the Finder. Thanks a bunch! Mark For future googles: snprintf(disposition, sizeof(disposition), "inline; filename=%s", hint); apr_table_add(r->headers_out, "Content-disposition", disposition);