lib/saorin/server/base.rb in saorin-0.3.1 vs lib/saorin/server/base.rb in saorin-0.3.2

- old
+ new

@@ -14,9 +14,12 @@ @allowed_methods = options[:allowed_methods] || handler.public_methods(false) @allowed_methods.map! { |m| m.to_s } @options = options end + def shutdown + end + def process_request(content) response = begin request = parse_request content if request.is_a?(::Array) raise Saorin::InvalidRequest if request.empty?