Uniface REST: supporting TRACE and OPTIONS methods
Hi Unifacers,up to last week my Uniface REST DSPs were supporting HEAD, GET, POST, PUT, DELETE methods; now I would like to extend them to TRACE and OPTIONS.I've added those new REQUEST_METHODs to my DSP sample but trying to request them I did NOT reach the DSP, because I presume Tomcat is directly answer me.These are responses received:Executing request with OPTIONS method:OUTPUT - headers:Server=Apache-Coyote/1.1Allow=GET, HEAD, POST, PUT, DELETE, TRACE, OPTIONSContent-Length=0Date=Sun, 18 Apr 2021 10:05:33 GMTOUTPUT - content:(empty)OUTPUT - response:HTTP/1.1 200 OKExecuting request with TRACE method:OUTPUT - headers:Server=Apache-Coyote/1.1Allow=HEAD, DELETE, POST, GET, OPTIONS, PUTContent-Length=0Date=Sun, 18 Apr 2021 10:05:19 GMTOUTPUT - content:(empty)OUTPUT - response:HTTP/1.1 405 Method Not AllowedI see a sort of contradiction here: default OPTION method is telling me TRACE is allowed but if I request TRACE the answer is "405 - Method NOT Allowed". (???)I have three