"Steve" == Steve Piner <[EMAIL PROTECTED]> writes:
> So going to <http://www.mysite.com/reports/foo.csv?param1=val1>
> would be the same as going to
> <http://www.mysite.com/bin/report.pl?param1=val1> except if the page
> is to be downloaded, the browser will use the name foo.csv.

This also works :

  http://www.mysite.com/bin/report.pl/foo.csv?param1=val1

report.pl gets called with param1=val1, but if you set the appropriate
Content-Type the browser prompt to save it to foo.csv.  Works in
Netscape and IE.

Of course, this is what Content-Disposition is *supposed* to do; ho hum.

Cheers,
Steve

Reply via email to