On 1/28/03 at 8:30 PM, [EMAIL PROTECTED] (Matt Sergeant) wrote: > On Tuesday, Jan 28, 2003, at 20:06 Europe/London, Bill McCabe wrote: > > > Hi All, > > > > I've put together an xpathscript setup that generates reports from > > database > > extracts. My xps file looks at GET args to determine whether to output > > an html > > file or a PDF (eg. ".../report.xml?ss=pdf"). Up until today I've kept > > caching > > off and everything has been fine. Now that I've turned it with > > AxGzipOutput on > > only returns the cached version and ignores the args. I realize this > > is exactly > > what I should have expected had I thought it through. Anyone know of a > > workaround for this situation, or am I going to need to use identical > > differently named xml files for different output styles so the cache > > can keep > > theem sorted out? > > http://axkit.org/wiki/view/AxKit/Apache::AxKit::Plugin::QueryStringCache > > Matt. >
When AxKit returns the cached PDF it defaults to the text/html content-type. How can I remind it that the content-type should be application/pdf? Bill --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
