mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 22:16:08 +00:00

When `HX-Target` header is present, bypass any configured layout for the request. This allows a full page reload to render with a layout, i.e. render the entire page, while a request from htmx will load just the content directly generated by the view.
8 lines
238 B
Zig
8 lines
238 B
Zig
test {
|
|
_ = @import("jetzig/http/Query.zig");
|
|
_ = @import("jetzig/http/Headers.zig");
|
|
_ = @import("jetzig/http/Cookies.zig");
|
|
_ = @import("jetzig/http/Path.zig");
|
|
@import("std").testing.refAllDeclsRecursive(@This());
|
|
}
|