httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] error responses have wrong headers
Date Tue, 06 May 1997 20:10:51 GMT
On Mon, 5 May 1997, Roy T. Fielding wrote:
> That changed when I did the big header table patch.  The problem is that
> the code cannot enforce HTTP compliance if their are two tables being
> output instead of just one, so it merges the tables first.  We could
> return to the old behavior simply by clearing the r->headers_out
> table (using a new table_empty() function, please) before calling
> send_http_header(r) in http_protocol.c:send_error_response().

Bleh!  This is a mess.  If we do what you suggest, and also tweak mod_neg
to move Alternates and Vary to err_headers_out, have we covered all the
bases?

Are these the semantics then?

    headers_out		headers sent only with 200..299 responses
    err_headers_out	headers sent with all responses

Dean


Mime
View raw message