I&#39;m using camping with reststop to do a html front end for sending pre-defined messages to different devices (puts will work) depending on the time (will parse cron).&nbsp; No real deadline.<br><br>Works great up to now, much fun, forgot to sleep.<br>
<br>Problem is when I pass a URL of the form /device/1/ping without a &quot;Ping&quot; controller method.&nbsp; It will send me a &quot;501 Not Implemented&quot;.&nbsp; Interestingly enough, /device/1/1/ping will give me &quot;404 Not Found&quot; which I have properly handled.<br>
<br>So my question are: <br>In what part of the code can I catch the 501?&nbsp; <br>How can I implement a catch-all controller method?&nbsp; <br>Who&#39;s giving me the nicely formated web page when the 501&#39;s happening? <br>Where could I have found that out?&nbsp; <br>
If I stop using reststop, will the problem go away?<br><br>Attached is what I have worked up till now.&nbsp; Has a postamble, will work with webrick.<br>