diff plugins/mod_http.lua @ 14088:d08f18c35d27 13.0

mod_http: "Handle" streaming requests to avoid invoking redirect handler
author Kim Alvefur <zash@zash.se>
date Fri, 20 Feb 2026 15:45:54 +0100
parents a4b58ea5bf7b
children
line wrap: on
line diff
--- a/plugins/mod_http.lua	Fri Feb 20 15:08:03 2026 +0100
+++ b/plugins/mod_http.lua	Fri Feb 20 15:45:54 2026 +0100
@@ -264,6 +264,8 @@
 					function handler(event) -- luacheck: ignore 432/event
 						if event.request.body ~= false then
 							return _handler(event);
+						else
+							return true;
 						end
 					end
 				end