Date: Wed, 22 Mar 2000 06:17:42 +0500
Message-Id: <200003220117.GAA00840@midpec.com>
From: Prashant TR
To: djgpp AT delorie DOT com
In-reply-to: <38D7E7D1.D14B432F@bigfoot.com> (message from Richard Dawe on
Tue, 21 Mar 2000 21:21:21 +0000)
Subject: Re: DJGPP & CGI
References: <38D7C78E DOT 2708CFD1 AT pgmincorporated DOT com> <38D7E7D1 DOT D14B432F AT bigfoot DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: dj-admin AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com
Precedence: bulk
Richard Dawe proclaimed:
> Damon Hogan wrote:
> > Use that to compile the test.c cgi program attached. So GCC Mingw32
> > (Win32) CGI works fine.
> [Snip]
> > #include
> > #include
> >
> > int main(void)
> > {
> > char hello[1000];
> >
> > printf("Content-type: text/html\n\n");
>
> Shouldn't that be:
>
> printf("Content-Type: text/html\n\n");
No. Not necessarily. I use "Content-type: text/html" in Perl
and it works fine.
> I thought the header fields were case-sensitive?
They're actually case-insensitive.