--- 03.zeek	2025-11-06 09:56:09
+++ 04.zeek	2025-11-06 10:14:11
@@ -5,6 +5,9 @@
 event http_entity_data(c: connection, is_orig: bool, length: count,
     data: string)
 	{
-	c$http_state$entity += data;
-	print c$http_state$entity;
+	if ( c?$http_state )
+		{
+		c$http_state$entity += data;
+		print c$http_state$entity;
+		}
 	}
