smithd77 has asked for the wisdom of the Perl Monks concerning the following question:
My question is what am I doing that headers aren't being sent?$r->err_headers_out->{'Content-Disposition'} ="attachment; filename=\" +$csv_file\""; $r->headers_out->{'Content-Disposition'} ="attachment; filename=\"$c +sv_file\""; $r->headers_out->{'ABZZ-Disposition'} ="attachment; filename=\"$csv_ +file\""; $r->content_type('text/csv'); $r->set_content_length([stat $csv_fh]->[7]); $r->rflush(); And then send the file via this: $r->sendfile($pdf_file);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Headers not being sent with mod_perl2
by Anonymous Monk on Apr 09, 2014 at 06:30 UTC | |
by smithd77 (Initiate) on Apr 09, 2014 at 17:46 UTC | |
by Anonymous Monk on Apr 09, 2014 at 21:25 UTC | |
|
Re: Headers not being sent with mod_perl2 (twice)
by tye (Sage) on Apr 10, 2014 at 01:07 UTC |