Comment 10 for bug 238572

Revision history for this message
D Sparkes (david-sparkes) wrote :

Below are the headers for Firefox 2 when it tries to display the pdf file. Saving the file always works. It is only when we have the acrobat reader plug-in on our browser that it has problems with the documents out of the document library.

When opening:
http://documents.beds.ac.uk/dl/training/handle/3736129497719782140/uob-archiving-gw.pdf
we get a 'stopped' message at the bottom of the browser and the headers look like this.

GET /dl/training/handle/3736129497719782140/uob-archiving-gw.pdf HTTP/1.1
Host: documents.beds.ac.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://devtrain.beds.ac.uk/isd/guides/gw

HTTP/1.0 200 OK
Date: Thu, 19 Jun 2008 13:24:23 GMT
Server: Twisted/2.1.0 TwistedWeb/SVN-Trunk
Content-Length: 135386
X-Powered-By: Zope (www.zope.org), Python (www.python.org)
Accept-Ranges: bytes
Content-Type: application/pdf
X-Cache: MISS from ragno.beds.ac.uk
X-Cache-Lookup: HIT from ragno.beds.ac.uk:80
Connection: keep-alive

another document from the main university site (that opens sucessfully in the adobe reader plug-in window in the browser):

http://www.beds.ac.uk/aboutus/qa/foi2005/gov/11legfra/1-legal-ia.pdf

GET /aboutus/qa/foi2005/gov/11legfra/1-legal-ia.pdf HTTP/1.1
Host: www.beds.ac.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Range: bytes=65536-120586,65536-65537

HTTP/1.x 206 Partial Content
Date: Thu, 19 Jun 2008 13:58:49 GMT
Server: Zope/(Zope 2.8.8-final, python 2.3.6, linux2) ZServer/1.1
Content-Length: 55342
content-disposition: inline;filename=1-legal-ia.pdf
Accept-Ranges: bytes
Last-Modified: Wed, 01 Aug 2007 09:41:49 GMT
Content-Type: multipart/byteranges; boundary=127.0.0.2.1001.22317.1213883929.531.2250
X-Cache: MISS from ragno.beds.ac.uk
X-Cache-Lookup: HIT from ragno.beds.ac.uk:80
Connection: keep-alive
----------------------------------------------------------

This is a successful pdf request on the same page that we added via the silva interface (below)

http://devtrain.beds.ac.uk/isd/guides/gw/uob-gw70

GET /isd/guides/gw/uob-gw70 HTTP/1.1
Host: devtrain.beds.ac.uk
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Language: en-gb,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Referer: http://devtrain.beds.ac.uk/isd/guides/gw
Authorization: Basic ZHNwYXJrZXM6XnlobkJodTg=

HTTP/1.0 200 OK
Date: Thu, 19 Jun 2008 14:30:50 GMT
Server: Zope/(Zope 2.8.8-final, python 2.3.6, linux2) ZServer/1.1
Content-Length: 1080985
content-disposition: inline;filename=uob-gw70
Accept-Ranges: bytes
Last-Modified: Thu, 19 Jun 2008 14:17:39 GMT
Content-Type: application/pdf
X-Cache: MISS from ragno.beds.ac.uk
X-Cache-Lookup: MISS from ragno.beds.ac.uk:80
Connection: keep-alive

When following the document library links it does intermitently work.