Sha256: 458605c62240e7390f0ea58bcfd1f209793d945b4a9b5d3245342f30e1c0ebb8
Contents?: true
Size: 304 Bytes
Versions: 17
Compression:
Stored size: 304 Bytes
Contents
# frozen_string_literal: true class RefererServlet < WEBrick::HTTPServlet::AbstractServlet def do_GET(req, res) res['Content-Type'] = "text/html" res.body = req['Referer'] || '' end def do_POST(req, res) res['Content-Type'] = "text/html" res.body = req['Referer'] || '' end end
Version data entries
17 entries across 17 versions & 1 rubygems