Sorry, there should be no "req.write(file)" there.

> def get_request(req):
>       if req.method == 'GET':
>               req.content_type = "text/xml"
>               req.sendfile(LOCAL_FILE)
>               req.write(file)
>                 return apache.OK
>

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to