# :enddoc:require'net/http'# This is just for folks that don't have net-http-persistentclass MogileFS::NhpFake# :nodoc:
attr_accessor :read_timeout,:open_timeoutdefinitialize(name)@read_timeout=@open_timeout=nilenddefrequest(uri, req)# :nodoc:
http = Net::HTTP.new(uri.host, uri.port)
http.read_timeout =@read_timeout
http.open_timeout =@open_timeout
http.request(req)endend