Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
11 lines (9 sloc) 180 Bytes
require 'rubygems'
require 'sinatra'
require 'erb'
get '/' do
erb :"index.html"
end
put '/' do
puts "uploaded #{env['HTTP_X_FILENAME']} - #{request.body.read.size} bytes"
end
Jump to Line
Something went wrong with that request. Please try again.