Changeset 201
- Timestamp:
- 09/17/2007 16:35:05 (15 months ago)
- Files:
-
- 1 modified
-
trunk/lib/camping/webrick.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/camping/webrick.rb
r186 r201 43 43 # Handler for WEBrick requests (also aliased as do_POST). 44 44 def service(req, resp) 45 controller = @klass.run((req.body and StringIO.new(req.body)), req.meta_vars)45 controller = @klass.run((req.body && StringIO.new(req.body)) || StringIO.new(), req.meta_vars) 46 46 resp.status = controller.status 47 47 @local_path = nil
