i-rack

Rack middleware that returns 404 in response to all requests for the resource “/WMD”

Somewhere in your Rack configuration (eg. config.ru) add:

require 'i-rack'
use I::Rack

Then hit your application with the appropriate request:

> curl -i -H http://localhost:9292/WMD

HTTP/1.1 404 Not Found
Content-Length: 0
Content-Type: text/plain