# $Id: http-header.bro,v 1.2 2002/10/13 21:07:59 vern Exp $

# Prints out detailed HTTP headers.

event http_header(c: connection, is_orig: bool, name: string, value: string)
	{
	local s = lookup_http_request_stream(c);

	print http_log, fmt("%.6f %s %s %s: %s",
				network_time(), s$id,
				is_orig ? ">" : "<", name, value);
	}
