ap_scan_script_header — scan the headers output by a CGI
int ap_scan_script_header(request_rec *r, FILE *f)
This is similar to ap_scan_script_header_err(), except that no error buffer is passed.
ap_scan_script_header_err()