X-One-Piece header with a random quote from One Piece into your rack app!
This project is a stupid simple rack middleware that will inject a header with random One Piece quote into every response.
Bundle that shit:
In your fabulous
config.ru add some stuff:
require "rack/OnePiece" use Rack::OnePiece
Curl your app:
curl -i http://localhost:5000
Here we go:
HTTP/1.1 200 X-One-Piece: "I'm gonna be the Pirate King." ~Monkey D. Luffy