The "unfriendly" behavior of redirects (actually redirects for methods other then GET used e.g. for customized error pages) should be fixed by the following change in the NaviServer repository:

https://bitbucket.org/naviserver/naviserver/commits/0072469bedcd7a4640af9d9f215b1573504e385f

See as well the test cases

all the best

-gn

On 25.05.20 20:27, Iuri de Araujo Sampaio wrote:

and regarding “unfriendly” behavior

The last request leads to a "method not allowed" result, since a PUT on /shared is indeed not allowed. This is the "unfriendly" behavior part. Clearly, in
the file-not-found case, the HTTP method should be changed to GET

I’ll handle it, using NGINX.

Thanks!



_______________________________________________
naviserver-devel mailing list
naviserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/naviserver-devel

Reply via email to