httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <>
Subject Re: [PATCH] PR#506: no DefaultType means no Content-Type
Date Tue, 06 May 1997 20:06:32 GMT
On Mon, 5 May 1997, Roy T. Fielding wrote:

> >Hmm the code as it stands will DefaultType a CGI's output, but won't
> >DEFAULT_TYPE (i.e. no DefaultType directive) a CGI's output.  For some
> >reason I was thinking content-type was a required header, but upon
> >checking I discover it isn't required.
> Ummm, lost me there -- it is Monday, after all.

The code right now will apply DefaultType to a CGI.

The error my patch attempts to fix is that it doesn't properly use
DEFAULT_TYPE in send_http_header... whereas it is used elsewhere in the
code.  So the patch is just trying to make it more consistent.

If I were to try my alternate solution (core_type_checker()) I'm sure I'd
also discover that it is typing CGI responses.


View raw message