# File /tmp/buildd/evernote-mode-0.10/ruby/lib/thrift/server/mongrel_http_server.rb, line 31 31: def process(request, response) 32: if request.params["REQUEST_METHOD"] == "POST" 33: response.start(200) do |head, out| 34: head["Content-Type"] = "application/x-thrift" 35: transport = IOStreamTransport.new request.body, out 36: protocol = @protocol_factory.get_protocol transport 37: @processor.process protocol, protocol 38: end 39: else 40: response.start(404) { } 41: end 42: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.