lib/rack/contrib/csshttprequest.rb
# Proxies the request to the application then encodes the response with
# the CSSHTTPRequest encoder
Proxies the request to the application then encodes the response with
the CSSHTTPRequest encoder
Proxies the request to the application then encodes the response with the CSSHTTPRequest encoder
def call(env)
      status, headers, response = @app.call(env)
      if chr_request?(env)
        response = encode(response)
        modify_headers!(headers, response)
      end
      [status, headers, response]
    end
def call ( env ) status , headers , response = @app . call ( env ) if chr_request? ( env ) response = encode ( response ) modify_headers! ( headers , response ) end [ status , headers , response ] end
Proxies the request to the application then encodes the response with
the CSSHTTPRequest encoder
Proxies the request to the application then encodes the response with the CSSHTTPRequest encoder
env