changeset 4746:88f5e12c8351

mod_rest: Imply type=set for archive queries This is what makes GET /archive/{to} do the query instead of retrieve the form only.
author Kim Alvefur <zash@zash.se>
date Thu, 04 Nov 2021 20:17:07 +0100
parents d29a295cd165
children 566e54a07f54
files mod_rest/jsonmap.lib.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mod_rest/jsonmap.lib.lua	Thu Nov 04 20:15:44 2021 +0100
+++ b/mod_rest/jsonmap.lib.lua	Thu Nov 04 20:17:07 2021 +0100
@@ -401,6 +401,7 @@
 
 local implied_types = {
 	command = "set",
+	archive = "set",
 }
 
 local kind_by_type = {