curl-users
libcurl 7.9.4 content-type bug
From: Brent Beardsley <bbeardsley_at_brentlysoftware.com>
Date: Tue, 5 Feb 2002 22:45:12 -0800
Date: Tue, 5 Feb 2002 22:45:12 -0800
Hi,
The new feature getting the content-type doesn't quite work. It is off by
one (too short).
The necessary fix is at transfer.c line 481
It should be:
for(end=start, len=0;
not:
for(end=start+1, len=0;
Thanks,
Brent
Received on 2002-02-06