Module Rack::Handler::FastCGI::ProperStream
In: lib/rack/handler/fastcgi.rb

Methods

each   read  

Public Instance methods

[Source]

    # File lib/rack/handler/fastcgi.rb, line 13
13:         def each                # This is missing by default.
14:           while line = gets
15:             yield line
16:           end
17:         end

[Source]

    # File lib/rack/handler/fastcgi.rb, line 19
19:         def read(*args)
20:           if args.empty?
21:             super || ""           # Empty string on EOF.
22:           else
23:             super
24:           end
25:         end

[Validate]