Sha256: 4cb385cfa2e249d8b5d388a2e722fe5065ef706acca4329e91a4bc928326677b
Contents?: true
Size: 349 Bytes
Versions: 16
Compression:
Stored size: 349 Bytes
Contents
require './app' #$:.unshift("/home/isaiah/codes/ruby/rack/lib") #require 'pp' #require 'rack/multipart' #run lambda { |env| pp env; puts "=="; pp env['rack.input'].gets; puts "=="; params = Rack::Multipart.parse_multipart(env); pp params; [200, {"Content-Type" => "text/plain", "Content-Length" => "44"}, params.map{|k,v| k + ":" + v}] } run Vertx
Version data entries
16 entries across 16 versions & 1 rubygems