Why is status code 000 logged for POST response?

From: WWW server manager <webadm@dont-contact.us>
Date: Sat, 4 Oct 1997 21:34:29 +0100 (BST)

Why does Squid's (1.NOVM.16) access log show the HTTP status as 000 for the
response from POST requests? The correct status is passed through correctly
to the client, but it appears in the log as TCP_MISS/000 when it should be
e.g. TCP_MISS/200.

I've hunted around in the source code, but couldn't see any special handling
for POST requests that would explain the status code being logged as zero
(though I must presumably have missed something, somewhere). Since the
responses have perfectly valid and meaningful status codes (and if it were
desired to exclude POST responses during analysis, the request method is
shown in the log), I can't see any reason for not logging the actual status
codes.

                                John Line

-- 
University of Cambridge WWW manager account (usually John Line)
Send general WWW-related enquiries to webmaster@ucs.cam.ac.uk
Received on Sat Oct 04 1997 - 13:47:45 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:15 MST