Issues with static HTML export [1 Attachment]

"Christian Meier" <[email protected]> Tue, 15 Jun 2010 10:46:38 +0200
Newsgroups gmane.comp.cms.zms.devel
Message-ID <000c01cb0c67$4734d280$d59e7780$@info>
PROBLEM:
There are issues with large static HTML exports using the option "Download
to local machine".

A) It works quite well for smaller downloads (tested with ~10MB).
B) For larger downloads (tested with ~45MB) the browser gets an timeout
resp. no file data response.

ANALYSIS:
There different response headers.

On A) HTTP/1.1 200 OK
Server: Zope/(Zope 2.11.1-final, python 2.4.4, win32) ZServer/1.1
Date: Tue, 15 Jun 2010 08:11:10 GMT
Content-Length: 0
Content-Type: application/zip
Content-Disposition: inline;filename=myzms_smaller_home_html.zip
Cache-Control: public, max-age=3600

On B) HTTP/1.1 503 Service Unavailable
Server: Zope/(Zope 2.11.1-final, python 2.4.4, win32) ZServer/1.1
Date: Tue, 15 Jun 2010 08:08:52 GMT
Content-Length: 0
Content-Type: application/zip
Content-Disposition: inline;filename= myzms_larger_home.zip
Cache-Control: public, max-age=3600

WORKAROUND:
A quick and dirty temporary solution is printing something out in
_exportable.pub_export.

See attached _exportable.patch for example.

/CM