The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Tripletail::Filter::Binary - 内容に変更を加えない出力フィルタ

SYNOPSIS

  $TL->setContentFilter('Tripletail::Filter::Binary', contenttype => 'image/png');
  
  $TL->print($TL->readFile('foo.png'));

DESCRIPTION

バイナリ等、受け取った内容をそのまま出力する。

フィルタパラメータ

contenttype

Content-Typeを指定する。省略可能。

METHODS

setHeader
  $filter->setHeader($key => $value)

他の出力の前に実行する必要がある.同じヘッダを既に出力しようとしていれば, そのヘッダの代わりに指定したヘッダを出力する.

addHeader
  $filter->addHeader($key => $value)

他の出力の前に実行する必要がある.同じヘッダを既に出力しようとしている場合, そのヘッダに加えて指定したヘッダを出力する.

SEE ALSO

Tripletail
Tripletail::Filter

AUTHOR INFORMATION

    Copyright 2006 YMIRLINK Inc. All Rights Reserved.

    This framework is free software; you can redistribute it and/or modify it under the same terms as Perl itself

    このフレームワークはフリーソフトウェアです。あなたは Perl と同じライセンスの 元で再配布及び変更を行うことが出来ます。

    Address bug reports and comments to: tl@tripletail.jp

    HP : http://tripletail.jp/