- From: Michael Naumann - ESO Garching +49 89 32006 430 <mnaumann@eso.org>
- Date: Fri, 08 Nov 1996 11:38:25 +0100
- To: MegaZone <megazone@livingston.com>
- Cc: http-wg%cuckoo.hpl.hp.com@hplb.hpl.hp.com, www-talk@w3.org
MegaZone wrote: > [...] > That form has one ACTION. On that form you can check a box to download > code.tar, code.tar.Z, or code.tar.gz. The user picks the option they want > then submits the form to the CGI. Since the form has one ACTION only one > CGI can be called, and since there are 3 possibly names putting an extension > on the ACTION will be wrong for any 2 of them. you could use the Content-Disposition: header field (beware: it's not in the http-v11-spec07 but borrowed from MIME) ie send Content-Type: application/octet-stream Content-Disposition: attachment; filename=code.tar from your ACTION script. <michael ** Michael Naumann * ESO * mnaumann@eso.org ** http://www.eso.org/~mnaumann/
Received on Friday, 8 November 1996 02:47:59 UTC