···191191 (URI.path_string forest.config.home)
192192 | Search ->
193193 let status =
194194- if not (request.meth = `POST) then `OK else `Method_not_allowed
194194+ if request.meth = `POST then `OK else `Method_not_allowed
195195 in
196196 let body = search_handler ~request ~forest ~body:request_body in
197197 Cohttp_eio.Server.respond_string ~body ~status ()