🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.acrobat.reader
Article #11869

PDF from Db to Web browser

#11869
From: alan vu
Date: Mon, 17 Jun 2002 18:37
6 lines
958 bytes
I stored my pdf file in db. Now I like to retrieve it from db and display it on a web browser without saving it to a temporary file. What is the syntax that I should use for HTTP content-type values? 
I could do it for Tiff file as: 
Response.ContentType = "image/tiff" 
Thank you 

Alan
Technical Details
Message-ID: <ef92bae.-1@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!news.tele.dk!small.news.tele.dk!213.73.101.75!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109513,e9447bfc439f6ca1,start
X-Google-Attributes: gid109513,public
X-Google-ArrivalTime: 2002-06-17 12:07:50 PST
From: "alan vu" <avu@ci.bellevue.wa.us>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!supernews.com!news.tele.dk!small.news.tele.dk!213.73.101.75!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.acrobat.reader
Subject: PDF from Db to Web browser
Message-ID: <ef92bae.-1@WebX.aaQKaf7vad4>
Date: Mon, 17 Jun 2002 11:37:51 -0700
Lines: 8
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit