Sha256: 937324d985b685810229dfa376c9554a0366bcc9b42eb1105c672cb30e0f4bdc
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 Bytes
Contents
= 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
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
i-rack-0.1.0 | README.rdoc |