if (r->header_only)
    {
    TclWeb_SetHeaderType(DEFAULT_HEADER_TYPE, globals->req);
    TclWeb_PrintHeaders(globals->req);
    retval = OK;
    goto sendcleanup;
    }

There's the code that's actually causing it to behave differently than
you expect.  If you really wanted, you could take that out, but I think
it would also mean that it would spit out the whole file for each HEAD
request.  Perhaps a better way would be to do some checking, and if the
headers have already been printed, just not send anything to the client
anymore.  Kind of complex for a very corner case, though...

-- 
David N. Welton
- http://www.dedasys.com/davidw/

Apache, Linux, Tcl Consulting
- http://www.dedasys.com/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to