Return-Path: Delivered-To: apache-bugdb-archive@hyperreal.org Received: (qmail 7127 invoked by uid 6000); 6 Jul 1999 16:17:26 -0000 Received: (qmail 7104 invoked by uid 149); 6 Jul 1999 16:17:25 -0000 Date: 6 Jul 1999 16:17:25 -0000 Message-ID: <19990706161725.7103.qmail@hyperreal.org> To: apache-bugdb@apache.org, marc@apache.org, swiftkid@bigfoot.com From: marc@apache.org Subject: Re: mod_cgi/4702: Getting the content-type from the output of a CGI Sender: apache-bugdb-owner@apache.org Precedence: bulk [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ] Synopsis: Getting the content-type from the output of a CGI State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Tue Jul 6 09:17:24 PDT 1999 State-Changed-Why: This really isn't the place for asking basic C programming questions... ap_scan_script_header_err_buff is the function that is called from mod_cgi that actually reads the script output and it does store the Content-type i r->content_type but that really isn't too useful a thing to know.