Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tag: step_3
Fetching contributors…

Cannot retrieve contributors at this time

11 lines (9 sloc) 0.18 kb
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.