Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 11 lines (9 sloc) 0.18 kb
df1ad49f »
2010-10-19 Adding app skeleton.
1 require 'rubygems'
2 require 'sinatra'
3 require 'erb'
4
5 get '/' do
6 erb :"index.html"
7 end
8
9 put '/' do
3d4b7f53 »
2010-10-26 Logging the uploaded filename and size.
10 puts "uploaded #{env['HTTP_X_FILENAME']} - #{request.body.read.size} bytes"
df1ad49f »
2010-10-19 Adding app skeleton.
11 end
Something went wrong with that request. Please try again.