Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

rack-http_cat

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rack-http_cat

  • 1.0.0
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Rack::HTTPCat

Adds an easter-egg link to a status cat in the headers of your Rack application.

Installation

Add to your Gemfile:

gem 'rack-http_cat'

And then execute:

$ bundle install

Or install it globally as:

$ gem install rack-http_cat

Usage

require 'rack/http_cat' and use Rack::HTTPCat in your config.ru (or whatever your application's entry point is).

You should see something like HTTP-Cat: https://http.cat/200 in the headers of a successful page load.

Notes

Without configuration Rack will handle 500 errors outside of your app and inside Rack itself, so you won't see a cat in your headers.

FAQs

Package last updated on 07 Jan 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc