[daisy] re:Having some trouble with daisy and a loadbalancer

Bruno Dumon bruno at outerthought.org
Sat Sep 1 09:20:51 CDT 2007


Hi,

On Fri, 2007-08-31 at 16:14 -0700, Kealy, John wrote:
> Well I’ve gotten around the problem by temporally routing around the
> load balancer, so the example URL now works fine. Anyone have any
> insights into why files which are downloaded like PDFs might be
> treated differently than HTML?
> 
>  
> 
> Thanks for any ideas… we’ve sent a ticket in to F-5 as well to see if
> they can solve it on that end…
> 

In the same way as the PDF's are downloaded, you can download the data
of any document part. So I tried to download the HTML/XML data in the
SimpleDocumentContent part to see if that worked:

wget --save-headers http://oaais.ucsf.edu/OAAIS/Services_Overview/332-DSY/175-DSY/version/default/part/SimpleDocumentContent/data

and it does. Now try to add a file name (Daisy doesn't care about the
filename appended to the URL, it is only a convenience for when you save
the file localy):

wget --save-headers http://oaais.ucsf.edu/OAAIS/Services_Overview/332-DSY/175-DSY/version/default/part/SimpleDocumentContent/data/foo.html

and it stops working.

Observing the difference in HTTP headers between the two downloads (on
another Daisy instance), I think the "Content-Dispostion" header might
be the cause of the problem:

Content-Disposition:  inline; filename="foo.html"

-- 
Bruno Dumon                             http://outerthought.org/
Outerthought - Open Source, Java & XML Competence Support Center
bruno at outerthought.org                          bruno at apache.org



More information about the daisy mailing list