Re: [Q] Changing default name in a FORM

Maurizio Codogno:
>
>I have a script which selects a file and send it to the user. It 
>is accessed via a form, with action POST. 
>Unfortunately, the file is sent with the form's name as default name,
>and the user should rename it by hand.
>
>Does HTTP/1.0 have any header line which can be used to overcome it?

No.  There has been some limited discussion about a `suggested save-as
filename' header in the http-wg, but nobody ever cared enough about
having it to put forward a complete specification.

>And will Content-Base, as defined in HTTP/1.1, be useful?

I don't know.  There _may_ be browsers which use the Content-Base,
Location, or Content-Location headers when generating the `save as'
default filename.

>.mau. 

Koen.

Received on Tuesday, 8 October 1996 07:02:05 UTC