[pywin32-checkins] pywin32/isapi install.py,1.23,1.24
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: Mark H. <mha...@us...> - 2009-03-13 00:40:32
|
Update of /cvsroot/pywin32/pywin32/isapi In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv2131 Modified Files: install.py Log Message: only set HttpCustomHeaders if headers are specified Index: install.py =================================================================== RCS file: /cvsroot/pywin32/pywin32/isapi/install.py,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** install.py 5 Feb 2009 06:59:15 -0000 1.23 --- install.py 13 Mar 2009 00:40:18 -0000 1.24 *************** *** 262,266 **** pass newDir.AppCreate2(params.AppProtection) ! newDir.HttpCustomHeaders = params.Headers log(2, "Setting directory options...") --- 262,270 ---- pass newDir.AppCreate2(params.AppProtection) ! # XXX - note that these Headers only work in IIS6 and earlier. IIS7 ! # only supports them on the w3svc node - not even on individial sites, ! # let alone individual extensions in the site! ! if params.Headers: ! newDir.HttpCustomHeaders = params.Headers log(2, "Setting directory options...") |