[erlang-questions] configure http methods in yaws

Imants Cekusins imantc@REDACTED
Fri Feb 13 09:17:16 CET 2015


> Traffic with methods not allowed should be discarded with 405

you see, someone else might prefer another action depending on method
not allowed.

a dedicated attribute may be convenient but then someone would ask:
"how do I change the response code? how do I redirect?". Current
approach gives you choice.

one of those cases when there is more than one approach, a prefers  A,
b prefers B. Both have a valid point.



More information about the erlang-questions mailing list