in reply to Opening a Document in its Native Application
Content-Type: img/gif [download]
print header( # Stuff -type => "img/gif", # more stuff ); [download]