py26 does not have writeheader()