Hal E. Fulton wrote: > What's the proper way to deliver a grpahical > file via HTTP? with mod_ruby: image is an object with such methods: image.mime-type -> image/jpeg, image/png, image/gif - depending on image image.content -> binary content of picture picture.rbx --- image = Image.new( filename ) r = Apache.request r.content_type = image.mime_type r.headers_out['Accept-Ranges'] = 'bytes' r.headers_out['Content-Length'] = image.content.size.to_s r.send_http_header print image.content --- -- Andrey Kulinich IT Group Software developer Phone/Fax +380 (372) 58-43-10 e-mail: Andrey.Kulinich / itgrp.net http://www.itgrp.net