LICENSE NEWS README
Regurgitator BadResponse Device Domain DomainHost DomainPath Endpoint Error FileInfo FileRequest ListKeys Local LocalFile NoDevices OneDomain ServerSettings

Methods

::new #each #modified_since?

class Regurgitator::LocalFile

used to serve local files, bypassing HTTP to the backend device

Attributes

response [R]

Stores the Rack response (a 3-element Array) on success to simulate HTTP_Spew::Request objects

to_path [R]

may be called by some Rack web servers to use sendfile(2)

uri [R]

used to provide redirects to clients

Public Class Methods

new (env, path, uri, stat) source

Public Instance Methods

each () { |buf| ... } source

normal Rack HTTP server endpoint, used if the server can't handle to_path

modified_since? (modified_since, stat) source

Pages Classes Methods