17 Nov
2002
17 Nov
'02
10 p.m.
Skip Montanaro writes:
... This simple Python script hangs when accessed via direct URL or the ZMI (I didn't try the ZMI with links):
return [] The script does not hang.
Whenever a method (like your Python script above) returns a Python false value, ZPublisher turns this into a special HTTP return code (204 - success, no content). Many browsers interprete this return code wrong; they seem to wait for more data. Do not return Python false values to ZPublisher! Dieter