in reply to Re: Changing the content type
in thread Changing the content type
FAIL. That prints two sets of headers.
$ perl -MCGI -e 'my $q = CGI->new(); print $q->header(-type=>"text/xml +"); print $q->header(-attachment=>"filename.xml");' Content-Type: text/xml; charset=ISO-8859-1 Content-Disposition: attachment; filename="filename.xml" Content-Type: text/html; charset=ISO-8859-1
The cake is a lie.
The cake is a lie.
The cake is a lie.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Changing the content type
by psini (Deacon) on Jul 15, 2008 at 20:24 UTC | |
by friedo (Prior) on Jul 15, 2008 at 20:32 UTC |