/**
  *
  */
 public function upload()
 {
     if ($this['request']->checkMethod(HTTP\POST)) {
         $file = $this['request']->get('foobar[foo][bar]', 'file');
         return $this['response'](HTTP\OK, Inkwell\View::create('html', ['staple' => 'tests/upload_show.html'], ['file' => $file]));
     } else {
         return $this['response'](HTTP\OK, Inkwell\View::create('html', ['staple' => 'tests/upload_get.html']));
     }
 }
 /**
  *
  */
 public function main()
 {
     return $this['response'](HTTP\OK, Inkwell\View::create('html', ['staple' => 'home.html']));
 }