oppressor - streaming http compression response negotiator

  •        45

Return a duplex stream that will be compressed with gzip, deflate, or no compression depending on the accept-encoding headers sent.oppressor will emulate calls to http.ServerResponse methods like writeHead() so that modules like filed that expect to be piped directly to the response object will work.

https://github.com/substack/oppressor

Dependencies:

through : ~0.1.4
response-stream : ~0.0.0
negotiator : ~0.2.5

Tags
Implementation
License
Platform

   




Related Projects

HTTP Compression Library for Heavy Load Web Server

  •    

Deflater is a HTTP Compression Library, supporting Deflate (RFC 1950, RFC 1951) and GZip (RFC 1952). It is designed to encode and compress HTML content at once.

compression - Node.js compression middleware

  •    Javascript

Node.js compression middleware. Returns the compression middleware using the given options. The middleware will attempt to compress response bodies for all request that traverse through the middleware, based on the given options.

LZF Compressor- High-performance, streaming/chunking Java LZF codec, compatible with standard C LZF package

  •    Java

LZF-compress is a Java library for encoding and decoding data in LZF format, written by Tatu Saloranta. LZF alfgorithm itself is optimized for speed, with somewhat more modest compression. Compared to the standard Deflate (algorithm gzip uses) LZF can be 5-6 times as fast to compress, and twice as fast to decompress. Compression rate is lower since no Huffman-encoding is used after lempel-ziv substring elimintation.

Shinkansen: compress, crunch, combine, and cache JavaScript and CSS

  •    

Shinkansen allows you to compress with gzip/deflate, crunch (minify, etc), combine into a single resource, and cache CSS and JavaScript includes.


Alamofire - Elegant HTTP Networking in Swift

  •    Swift

Alamofire is an HTTP networking library written in Swift. It supports Chainable Request / Response Methods, Upload File / Data / Stream / MultipartFormData, Download File using Request or Resume Data, TLS Certificate and Public Key Pinning, Network Reachability, HTTP Response Validation, URL / JSON Parameter Encoding and lot more.

ahttpserver

  •    

Portable and small HTTP server written on C++, supported Windows/Linux. Has handlers/modules architecture - developed Python handler (WSGI), ASP.NET (Win32)/ISAPI extensions handler, FastCGI handler, BASIC authentication module. Supported chunked/gzip/deflate response encodings

compressing - Everything you need for compressing and uncompressing

  •    Javascript

The missing compressing and uncompressing lib for node. Use gzip as an example, tar, tgz and zip is same as gzip.

flate2-rs - DEFLATE, gzip, and zlib bindings for Rust

  •    C

A streaming compression/decompression library DEFLATE-based streams in Rust. This crate by default uses the miniz_oxide crate, a port of miniz.c to pure Rust. This crate also supports other backends, such as the widely available zlib library or the high-performance zlib-ng library.

compress - Optimized compression packages

  •    Go

This package is based on an optimized Deflate function, which is used by gzip/zip/zlib packages. It offers slightly better compression at lower compression settings, and up to 3x faster encoding at highest compression level.

php-restclient - A generic REST API client for PHP

  •    PHP

headers - An associative array of HTTP headers and values to be included in every request. parameters - An associative array of URL or body parameters to be included in every request. curl_options - cURL options to apply to every request; anything defined here: https://secure.php.net/manual/en/function.curl-setopt.php. These will override any automatically generated values. build_indexed_queries (bool) - http_build_query automatically adds an array index to repeated parameters which is not desirable on most systems. Use this option to enable the default behavior. Defaults to FALSE. user_agent - User agent string to use in requests. base_url - URL to use for the base of each request. format - Format string is appended to resource on request (extension), and used to determine which decoder to use on response; a request URL like "api.twitter.com/1.1/statuses/user_timeline.json" would be expected to return well-formed JSON. format_regex - Pattern to extract format from response Content-Type header, used to determine which decoder to use on response. decoders - Associative array of format decoders. See "Direct Iteration and Response Decoding". username - Username to use for HTTP basic authentication. Requires password. password - Password to use for HTTP basic authentication. Requires username. url (string) - URL of the resource you are requesting. Will be prepended with the value of the base_url option, if it has been configured. Will be appended with the value of the format option, if it has been configured.

gziphandler - Golang middleware to gzip HTTP responses

  •    Go

This is a tiny Go package which wraps HTTP handlers to transparently gzip the response body, for clients which support it. Although it's usually simpler to leave that to a reverse proxy (like nginx or Varnish), this package is useful when that's undesirable.The docs can be found at godoc.org, as usual.

DeflateLib

  •    

The implementation of RFC 1951 -- DEFLATE Compressed Data Format Specification version 1.3 (also RFC 1950 ZLIB and 1952 GZIP). It's written in managed C#. The project has basic compression algorithm implementation as it's described in the RFC.

urllib3 - Python HTTP library with thread-safe connection pooling, file post support, sanity friendly, and more

  •    Python

urllib3 is a powerful, sanity-friendly HTTP client for Python. Much of the Python ecosystem already uses urllib3 and you should too. urllib3 brings many critical features that are missing from the Python standard libraries:

PJL Compressing Filter

  •    Java

A J2EE servlet filter which compresses data written to the response. It supports several algorithms (gzip, deflate, etc.) and emphasizes minimal memory usage and high throughput. Also provides detailed performance stats. Feel free to fork pjl-comp-filter on Github: https://github.com/nbartels/pjl-comp-filter

gzip-js - GZIP implemented in pure JavaScript

  •    Javascript

gzip-js is a pure JavaScript implementation of the GZIP file format. It uses the DEFLATE algorithm for compressing data. Please note that since this is a pure JavaScript implementation, it should NOT be used on the server for production code. It also does not comply 100% with the standard, yet.

http-parser - http request/response parser for c

  •    C

This is a parser for HTTP messages written in C. It parses both requests and responses. The parser is designed to be used in performance HTTP applications. It does not make any syscalls nor allocations, it does not buffer data, it can be interrupted at anytime. Depending on your architecture, it only requires about 40 bytes of data per message stream (in a web server that is per connection).

php-proxy - A PHP proxy script with https and post support

  •    PHP

This is a HTTP/HTTPS proxy script that forwards requests to a different server and returns the response. The Proxy class uses PSR7 request/response objects as input/output, and uses Guzzle to do the actual HTTP request. The following example creates a request object, based on the current browser request, and forwards it to example.com. The RemoveEncodingFilter removes the encoding headers from the original response so that the current webserver can set these correctly.

pako - high speed zlib port to javascript, works in browser & node.js

  •    Javascript

zlib's test is partially affected by marshalling (that make sense for inflate only). You can change deflate level to 0 in benchmark source, to investigate details. For deflate level 6 results can be considered as correct.

xNet

  •    DotNet

xNet - a class library for .NET Framework, which includes: - Classes for work with proxy servers: HTTP, Socks4 (and), Socks5. - Classes for work with HTTP 1.0/1.1 protocol: keep-alive, gzip, deflate, chunked, SSL, proxies and more. - Classes for work with multithreading: _a...






We have large collection of open source products. Follow the tags from Tag Cloud >>


Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.