Socket
Book a DemoInstallSign in
Socket

fastr-compress

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fastr-compress

0.0.1
bundlerRubygems
Version published
Maintainers
1
Created
Source

fastr-compress

fastr-compress is a plugin for fastr that will compress a Rack response body.

how it works

The plugin is called after a Rack response has been returned from your application. It will inspect the Accept-Encoding header and attempt to encode the response's body if possible. Currently gzip and deflate are supported.

usage

Add fastr-compress to your Gemfile

source "http://rubygems.org"
gem 'fastr-compress'
...

Enable the plugin in your fastr application by modifying your app/config/settings.rb file

config.plugins << Fastr::Compress

FAQs

Package last updated on 27 Dec 2010

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.