On 31 March 2011 10:15, Gediminas Paulauskas <mene...@pov.lt> wrote:
> 2011/3/23 Laurence Rowe <l...@lrowe.co.uk>:
>> On 23 March 2011 14:43, Tres Seaver <tsea...@palladion.com> wrote:
>>> Multiple 'Content-Length' headers is definitely a Bad Thing.  I filed a
>>> bug, which Mark Ramm has promised to escalate:
>>>
>>>  https://sourceforge.net/apps/trac/sourceforge/ticket/18486
>>>
>>> I have a patch for setuptools which works around it:
>>>
>>>  http://bugs.python.org/setuptools/issue123
>>>
>>> I'm not sure how to work around the issue at the moment.
>>
>> I always add the following to my buildout.cfg to avoid problems with
>> random third party servers:
>>
>> allow-hosts =
>>    *.python.org
>>    *.plone.org
>>    launchpad.net
>>
>> (launchpad.net is there only for mocker which does not have a pypi release).
>
> I have added the following sites to allow-hosts for SchoolTool, that
> needs Sphinx, Pygments, PIL, reportlab, pyPdf, Paste.
>
> allow-hosts =
>    buildout.org
>    code.google.com
>    effbot.org
>    *.googlecode.com
>    pybrary.net
>    pygments.org
>    *.python.org
>    pythonpaste.org
>    *.pythonware.com
>    *.pocoo.org
>    reportlab.com
>    *.repoze.org
>    *.schooltool.org
>
> Not all sites are needed, but why block projects official downloads?

Limiting your allowed hosts to the minimal set makes running buildout
much faster as most of the network requests get blocked.

Laurence
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to