From fcbf63e62c627deae76c1b8cb8c0876c536ed811 Mon Sep 17 00:00:00 2001 From: Jari Vetoniemi Date: Mon, 16 Mar 2020 18:49:26 +0900 Subject: Fresh start --- jni/ruby/sample/webrick/demo-urlencoded.cgi | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 jni/ruby/sample/webrick/demo-urlencoded.cgi (limited to 'jni/ruby/sample/webrick/demo-urlencoded.cgi') diff --git a/jni/ruby/sample/webrick/demo-urlencoded.cgi b/jni/ruby/sample/webrick/demo-urlencoded.cgi new file mode 100644 index 0000000..e4706f8 --- /dev/null +++ b/jni/ruby/sample/webrick/demo-urlencoded.cgi @@ -0,0 +1,12 @@ +#!/usr/bin/env ruby +require "webrick/cgi" +require "webrick/https" # should load if it runs on HTTPS server +require "./demo-app" + +class DemoCGI < WEBrick::CGI + include DemoApplication +end + +config = { :NPH => false } +cgi = DemoCGI.new(config, "application/x-www-form-urlencoded") +cgi.start -- cgit v1.2.3-70-g09d2