Re: sending binary data to a File

Curt Sampson <[email protected]> Thu, 14 Jul 2005 10:37:29 +0900 (JST)
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
On Wed, 13 Jul 2005, SteveC wrote:

> Short of saving the file and then re reading it in using
> request.send_fd(), is there any way to get rcairo and mod_ruby talking?

You can pass rcario a StringIO and then append the contents of that to
the request output buffer.

cjs
-- 
Curt Sampson  <[email protected]>   +81 90 7737 2974   http://www.NetBSD.org
      Make up enjoying your city life...produced by BIC CAMERA