Hi there,
In attempt to register PUT in my NS instalation  ( ie. HTTP PUT method), I added the following line, within  /tcl/http-handlers-init.tcl library :

ns_register_tcl -options {stream stricterror} -- PUT /REST/*.tcl

I also try the simplest call:  ns_register_tcl PUT /REST/*.tcl

Then, within /REST/ directory, there's a TCL script edit.tclm and the first line is a simple log call, for testing purposes.

ns_log Notice "Running TCL script users/edit"

However, it still returns "Method not allowed:

Reference: https://naviserver.sourceforge.io/n/naviserver/files/ns_register.html


Furthermore, I've tested another variation of ns_register, which works just fine

ns_register_proc PUT /REST/* ::my_proc

What am I missing ?


Best wishes,
I
_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to