Return-Path: Delivered-To: apmail-httpd-modules-dev-archive@locus.apache.org Received: (qmail 91542 invoked from network); 17 Aug 2007 20:46:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Aug 2007 20:46:12 -0000 Received: (qmail 32993 invoked by uid 500); 17 Aug 2007 20:46:09 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 32959 invoked by uid 500); 17 Aug 2007 20:46:09 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Delivered-To: moderator for modules-dev@httpd.apache.org Received: (qmail 96763 invoked by uid 99); 17 Aug 2007 18:37:56 -0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) X-IronPort-AV: E=Sophos;i="4.19,276,1183359600"; d="scan'208";a="54950613" Message-ID: <46C5EBCC.6060703@pixar.com> Date: Fri, 17 Aug 2007 11:41:16 -0700 From: Mark Harrison User-Agent: Thunderbird 1.5.0.12 (Macintosh/20070509) MIME-Version: 1.0 To: modules-dev@httpd.apache.org Subject: giving a filename hint to the browser? Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I have a module that is serving out images in various formats and resolution. Our canonical format is: /operation/image/resolution for example, to get a jpeg thumbnail of foo.tif 256 pixels: http://myserver/thumb/foo.tif/256-wide-jpg This is all working well now and fits in with how other parts of our system think about images, but I'm curious if there is a way to hint to the browser a "save-as" filename. Currently if you save the file (or drag the image to the desktop), the default name will be "256-wide-jpg.jpg", and it might be nice to save it as "foo.tif.thumbnail.jpg" or some such. Many TIA! Mark